Converting subdomain to path component without redirect ?

Steve Holdoway steve at greengecko.co.nz
Sun May 5 23:23:34 UTC 2013


On Mon, 2013-05-06 at 00:14 +0100, henrique matias wrote:
[snip]
> 
> brings me the error: Starting nginx: nginx: [emerg] "proxy_pass"
> cannot have URI part in location given by regular expression, or
> inside named location, or inside "if" statement, or inside
> "limit_except" block in /etc/nginx/nginx.conf:121
> nginx: configuration file /etc/nginx/nginx.conf test failed

...so take it out of the named location??

Steve

-- 
Steve Holdoway BSc(Hons) MIITP 
http://www.greengecko.co.nz
Skype: sholdowa



More information about the nginx mailing list