Proxy pass and URL rewrite with upstream

Zhang Chao zchao1995 at gmail.com
Fri Dec 22 01:56:42 UTC 2017


Hello!

> With this configuration, only works the URL with a trailing slash
> "http://systems.ltda.local/phpmyadmin/" and not
> "http://systems.ltda.local/phpmyadmin”.

What do you mean of it doesn’t work with the URL without the trailing
slash?
Does the backend Apache server just returns 404?

The URL path that your nginx passes to the backend will be:

/ if types http://systems.ltda.local/phpmyadmin


// if types http://systems.ltda.local/phpmyadmin/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171221/d4f3f00d/attachment.html>


More information about the nginx mailing list