This commit is contained in:
Manuel de Brito Fontes 2018-01-24 09:25:49 -03:00
parent 0836cb30aa
commit 313f808c89
No known key found for this signature in database
GPG key ID: 786136016A8BA02A

View file

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