Enable SECURE_PROXY_SSL_HEADER option for horizon
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 9 Dec 2016 07:28:05 +0000 (09:28 +0200)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 14 Dec 2016 08:32:48 +0000 (08:32 +0000)
This reads makes Django take the X-Forwarded-Proto header into account
when forming URLs.

Change-Id: Ice64de9a11d7819ae7f380279ff356342d9b6673
Depends-On: Ifed7d4c3409419c01c5b20c707221c1fc76ea09e

puppet/services/horizon.yaml

index 8eaf404..e59dc20 100644 (file)
@@ -58,6 +58,7 @@ outputs:
               dport:
                 - 80
                 - 443
+          horizon::enable_secure_proxy_ssl_header: true
           horizon::disable_password_reveal: true
           horizon::enforce_password_check: true
           horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache