Welcome! Log In Create A New Profile

Advanced

Re: Converting subdomain to path component without redirect ?

Francis Daly
May 05, 2013 04:06AM
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
Subject Author Posted

Converting subdomain to path component without redirect ?

henrique matias April 29, 2013 05:04PM

Re: Converting subdomain to path component without redirect ?

henrique matias April 30, 2013 07:10AM

Re: Converting subdomain to path component without redirect ?

Francis Daly May 04, 2013 05:50PM

Re: Converting subdomain to path component without redirect ?

henrique matias May 04, 2013 09:24PM

Re: Converting subdomain to path component without redirect ?

henrique matias May 04, 2013 09:40PM

Re: Converting subdomain to path component without redirect ?

Francis Daly May 05, 2013 04:18AM

Re: Converting subdomain to path component without redirect ?

henrique matias May 05, 2013 07:16PM

Re: Converting subdomain to path component without redirect ?

GreenGecko May 05, 2013 07:26PM

Re: Converting subdomain to path component without redirect ?

henrique matias May 06, 2013 11:36AM

Re: Converting subdomain to path component without redirect ?

Francis Daly May 05, 2013 04:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready