Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

disable 301 redirect for directory / use relative redirect / change scheme (6 replies)

$
0
0
Hi,

I have this setup
browser -> ssl proxy -> nginx
browser to ssl proxy is https only
ssl proxy to nginx is http only

now i browse to "https://exemple.com/aaa", where aaa is a directory,
so nginx send back a 301 redirect with "Location: http://exemple.com/aaa/"

Is it possible to send https instead of http (in Location),
or send a relative header, like "Location: /aaa/",
or just disable this redirection (in my case it's ok)

Thanks in advance
Etienne
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>