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