John Moore
May 17, 2012 03:42PM
On 17/05/12 20:08, Maxim Dounin wrote:
>
> With
>
> location / {
> proxy_pass http://backend/;
> }
>
> there shouldn't be any extra slashes, even in 0.7.65 which is
> rather old (and it may be good idea to upgrade it anyway). Could
> you please provide full config and some logs which show the
> problem?
>

If it's not the trailing slash which is causing the leading slash in the
proxied requests, I need to look elsewhere. If I don't get anywhere,
I'll try to produce something a little more informative.

I take your point about upgrading. The problem is that 0.7.65 is
absolutely rock solid, and is in use in an extremely busy system, so
there has been little incentive to upgrade! I do think we should do so,
though.

John

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

proxy_pass with trailing slash issue

J2R May 17, 2012 02:40PM

Re: proxy_pass with trailing slash issue

Maxim Dounin May 17, 2012 03:10PM

Re: proxy_pass with trailing slash issue

John Moore May 17, 2012 03:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
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