On Fri, Sep 10, 2010 at 08:05:13AM -0400, alexk wrote:
> Strange,
>
> When post is specified in listen directive:
>
> server {
> listen 80;
> ...
> }
>
> it works well with double slashes.
>
> But when using domain name in listen directive
>
> server {
> listen *****.com;
> ...
> }
>
> it removes double slashes.
You probably proxy using
location / {
proxy_pass http://backend/;
}
You need ot remove the last "/", then nginx will use a client original
request with double slashes:
location / {
proxy_pass http://backend;
}
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx