Spurious "/.com" inserted into URL

Igor Sysoev igor at sysoev.ru
Tue Aug 10 00:15:48 MSD 2010


On Mon, Aug 09, 2010 at 07:12:11PM +0100, Nuno Magalhães wrote:

> Hi, I'd suggest changing
> 
> >    server {
> >        listen      80;
> >        server_name domain.com production.domain.com;
> >        root    /var/www/domain.com/;
> 
> to root    /var/www/domain.com;

No, the trailing slash in root can not do this.

> and re-check your regexes, but that's just a newbie hint.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list