trailing slash at end URL with nginx as a reverse proxy for multiple website

Edho Arief edho at
Sun Nov 20 09:12:05 UTC 2011

On Sun, Nov 20, 2011 at 3:11 PM, Nguyen Hai Nam <nam.nh at> wrote:
> If someone open the link nginx can't serve it then
> return the error message that says ""
> unreachable.

Are you sure it's nginx error and not backend's?

Also you may want to try adding these lines:

    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;

O< ascii ribbon campaign - stop html mail -

More information about the nginx mailing list