From cace043cbf415897da1de461fc7a4a51dc758e6e Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 30 Jul 2018 09:53:17 +0200 Subject: [PATCH] fix: [apache] ``X-Forwarded-Proto`` was incorrectly set in http --- apache/lib/common | 2 +- apache/test/vhost | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apache/lib/common b/apache/lib/common index 0cb9644..50d993a 100644 --- a/apache/lib/common +++ b/apache/lib/common @@ -389,7 +389,7 @@ $(__vhost_creds_statement | prefix " ") $([ "$protocol" == "https" ] && echo " SSLProxyEngine On") -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 diff --git a/apache/test/vhost b/apache/test/vhost index 74efeca..76fb9a3 100755 --- a/apache/test/vhost +++ b/apache/test/vhost @@ -269,7 +269,7 @@ is out ' - RequestHeader set "X-Forwarded-Proto" "https" + RequestHeader set "X-Forwarded-Proto" "http" ## Fix IE problem (httpapache proxy dav error 408/409) SetEnv proxy-nokeepalive 1