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
This commit is contained in:
Tytus Kurek 2017-12-05 15:45:47 +01:00
parent c50110cf9b
commit 7c752b0216
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ Listen {{ ext_port }}
ProxyPass / http://localhost:{{ int }}/
ProxyPassReverse / http://localhost:{{ int }}/
ProxyPreserveHost on
RequestHeader set X-Forwarded-Proto "https"
</VirtualHost>
{% endfor -%}
<Proxy *>