From ba43f7c3b3dc4a90f744364af28f4cd2e372046a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Wed, 19 Aug 2020 09:56:34 +0200 Subject: [PATCH] Blockerbugs: Tell flask that we're behind proxy --- roles/blockerbugs/templates/blockerbugs-settings.py.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/blockerbugs/templates/blockerbugs-settings.py.j2 b/roles/blockerbugs/templates/blockerbugs-settings.py.j2 index ea9da6d6b1..b387e78709 100644 --- a/roles/blockerbugs/templates/blockerbugs-settings.py.j2 +++ b/roles/blockerbugs/templates/blockerbugs-settings.py.j2 @@ -23,6 +23,9 @@ PREFERRED_URL_SCHEME='https' # Make browsers send session cookie only via HTTPS SESSION_COOKIE_SECURE = True +# Tell flask that we're behind proxy +BEHIND_PROXY = True + # enable fedmenu FEDMENU_URL = 'https://apps.fedoraproject.org/fedmenu/' FEDMENU_DATA_URL = 'https://apps.fedoraproject.org/js/data.js'