Files
LEMPer/etc/nginx/fastcgi_https_map
2023-01-16 23:16:31 +07:00

13 lines
284 B
Plaintext

## Designed to be included to /etc/nginx/nginx.conf http{} block.
# auto detect and enable fastcgi_param HTTPS $server_http for PHP behind SSL https.
map $scheme $server_https {
default off;
https on;
}
map $http_x_forwarded_proto $proto_https {
default $scheme;
https https;
}