This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-01-24 14:28:34 -03:00 committed by GitHub
parent c67e9185b6
commit fb3a317f4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@ http {
map "$scheme:$pass_access_scheme" $redirect_to_https { map "$scheme:$pass_access_scheme" $redirect_to_https {
default 0; default 0;
"http:http" 1; "http:http" 1;
"http:https" 1; "https:http" 1;
} }
map $http_x_forwarded_port $pass_server_port { map $http_x_forwarded_port $pass_server_port {
@ -241,6 +241,8 @@ http {
server_name_in_redirect off; server_name_in_redirect off;
port_in_redirect off; port_in_redirect off;
rewrite_log on;
ssl_protocols {{ $cfg.SSLProtocols }}; ssl_protocols {{ $cfg.SSLProtocols }};
# turn on session caching to drastically improve performance # turn on session caching to drastically improve performance