add ASSUME_HTTPS parameter
This commit is contained in:
parent
85e8adc0aa
commit
900b0e1e96
@ -115,6 +115,12 @@ Ldap attribute for the email.
|
||||
## LDAP_UID_ATTRIBUTE
|
||||
Ldap attribute for the user id.
|
||||
|
||||
## ASSUME_HTTPS
|
||||
- default: on
|
||||
The value of `fastcgi_param HTTPS`.
|
||||
|
||||
Either `on` or `off`.
|
||||
|
||||
# Ports
|
||||
- 80
|
||||
|
||||
|
@ -61,7 +61,7 @@ server {
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param HTTPS on;
|
||||
fastcgi_param HTTPS {{ getenv "ASSUME_HTTPS" "on" }};
|
||||
|
||||
#Avoid sending the security headers twice
|
||||
fastcgi_param modHeadersAvailable true;
|
||||
|
Loading…
Reference in New Issue
Block a user