Fix redirect to ssl (#1854)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-12-26 22:53:43 -03:00 committed by GitHub
parent b329786ec3
commit 6a34e9c261
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,6 +193,7 @@ http {
map "$scheme:$pass_access_scheme" $redirect_to_https {
default 0;
"http:http" 1;
"http:https" 1;
}
map $http_x_forwarded_port $pass_server_port {