From eba2459e58759c48a91ba2d89b6170ce60bd9ac7 Mon Sep 17 00:00:00 2001 From: Samuli Tuomola Date: Mon, 23 Jan 2017 15:21:58 +0200 Subject: [PATCH] Support x-forwarded-proto header --- apache-Dockerfile-block-1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apache-Dockerfile-block-1 b/apache-Dockerfile-block-1 index cbfd1e44d0..88e32f893b 100644 --- a/apache-Dockerfile-block-1 +++ b/apache-Dockerfile-block-1 @@ -49,6 +49,8 @@ RUN { \ echo '\tOptions -Indexes'; \ echo '\tAllowOverride All'; \ echo ''; \ + echo; \ + echo 'SetEnvIf x-forwarded-proto https HTTPS=on'; \ } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" \ && a2enconf docker-php