Welcome! Log In Create A New Profile

Advanced

Re: URI rewrite with port number

December 22, 2010 12:43PM
hmm, it does not seem to work here. This is what I have so far, but when I add www at the beginning of the hostname, it can't find it. I should note that I'm using a hostname from DynDNS but I doubt that's an issue since I have used lighttpd in the past and it successfully rewrites

server {
listen *:8080 default_server;
server_name _;
return 444;
}

server {
server_name xxx.xxx.xxx;
listen *:8080 rcvbuf=64k backlog=128;
limit_conn gulag 5;
charset utf-8;
access_log /var/log/nginx/xxx.access.log;
root /srv/www/htdocs/xxx.xxx.xxx;
location / {
index index.php;
}
Subject Author Posted

URI rewrite with port number

microchip December 19, 2010 04:10PM

Re: URI rewrite with port number

Maxim Dounin December 19, 2010 04:22PM

Re: URI rewrite with port number

microchip December 19, 2010 04:43PM

Re: URI rewrite with port number

microchip December 22, 2010 12:43PM

Re: URI rewrite with port number

microchip December 22, 2010 12:44PM

Re: URI rewrite with port number

Maxim Dounin December 22, 2010 01:12PM

Re: URI rewrite with port number

microchip December 22, 2010 01:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready