Incorrect redirect protocol when behind a reverse proxy
Glenn Maynard
glenn at zewt.org
Thu Jul 25 16:14:40 UTC 2013
On Thu, Jul 25, 2013 at 10:53 AM, Jonathan Matthews <contact at jpluscplusm.com
> wrote:
> On my phone's browser, searching for that module name doesn't bring me
> anything useful I'm afraid. Are you just serving local files off disk?
>
src/http/modules/ngx_http_static_module.c. This is where the
trailing-slash redirects originate.
> I bet you have redirects configured somewhere, or a backend is
> generating them ;-)
>
> Please post your entire config.
>
I don't. It happens with a minimal configuration.
events { }
http {
server {
listen 10000;
root "data";
}
}
mkdir -p data/test/, and then accessing "http://localhost:10000/test"
redirects to "http://localhost:10000/test/".
--
Glenn Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130725/8370311e/attachment-0001.html>
More information about the nginx
mailing list