From 7c752b02162fdcea5798c03f9658cc4fb9e098f6 Mon Sep 17 00:00:00 2001 From: Tytus Kurek Date: Tue, 5 Dec 2017 15:45:47 +0100 Subject: [PATCH] Enable addition of proper headers in apache2 This patchset implements necessary actions which are required to properly set headers when using SSL. Change-Id: I8cf4c048835b85c0845083768ec2d66e940cb15f Closes-Bug: #1736417 --- templates/openstack_https_frontend.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/openstack_https_frontend.conf b/templates/openstack_https_frontend.conf index ebac26a..7800a68 100644 --- a/templates/openstack_https_frontend.conf +++ b/templates/openstack_https_frontend.conf @@ -13,6 +13,7 @@ Listen {{ ext_port }} ProxyPass / http://localhost:{{ int }}/ ProxyPassReverse / http://localhost:{{ int }}/ ProxyPreserveHost on + RequestHeader set X-Forwarded-Proto "https" {% endfor -%}