Browse Source

fix: [apache] ``X-Forwarded-Proto`` was incorrectly set in http

postgres
Valentin Lab 6 years ago
parent
commit
cace043cbf
  1. 2
      apache/lib/common
  2. 2
      apache/test/vhost

2
apache/lib/common

@ -389,7 +389,7 @@ $(__vhost_creds_statement | prefix " ")
$([ "$protocol" == "https" ] && echo " SSLProxyEngine On") $([ "$protocol" == "https" ] && echo " SSLProxyEngine On")
</IfModule> </IfModule>
RequestHeader set "X-Forwarded-Proto" "https"
RequestHeader set "X-Forwarded-Proto" "$protocol"
## Fix IE problem (httpapache proxy dav error 408/409) ## Fix IE problem (httpapache proxy dav error 408/409)
SetEnv proxy-nokeepalive 1 SetEnv proxy-nokeepalive 1

2
apache/test/vhost

@ -269,7 +269,7 @@ is out '<VirtualHost *:80>
</IfModule> </IfModule>
RequestHeader set "X-Forwarded-Proto" "https"
RequestHeader set "X-Forwarded-Proto" "http"
## Fix IE problem (httpapache proxy dav error 408/409) ## Fix IE problem (httpapache proxy dav error 408/409)
SetEnv proxy-nokeepalive 1 SetEnv proxy-nokeepalive 1

Loading…
Cancel
Save