Welcome! Log In Create A New Profile

Advanced

Re: Incorrect redirect protocol when behind a reverse proxy

July 25, 2013 12:16PM
On Thu, Jul 25, 2013 at 10:53 AM, Jonathan Matthews <contact@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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Incorrect redirect protocol when behind a reverse proxy

glenn July 24, 2013 06:04PM

Re: Incorrect redirect protocol when behind a reverse proxy

Jonathan Matthews July 25, 2013 06:12AM

Re: Incorrect redirect protocol when behind a reverse proxy

glenn July 25, 2013 10:44AM

Re: Incorrect redirect protocol when behind a reverse proxy

Jonathan Matthews July 25, 2013 11:54AM

Re: Incorrect redirect protocol when behind a reverse proxy

glenn July 25, 2013 12:16PM

Re: Incorrect redirect protocol when behind a reverse proxy

Jonathan Matthews July 25, 2013 02:42PM

Re: Incorrect redirect protocol when behind a reverse proxy

glenn July 30, 2013 05:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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