Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Converting subdomain to path component without redirect ?

$
0
0
On Sun, May 05, 2013 at 02:21:58AM +0100, henrique matias wrote:
> My first try was to change my location / { } to proxy pass to another
> language, so i could try "the backend" as you said, but it actually didn't
> work, i got:
>
> [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:79

Unless I'm missing something, that configuration should not lead to that
error message.

The new test server{} block should be very small, with every line
understood.

If you show exactly what you did, what you got, and what you expected
to get, others will have a better chance of offering help.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>