From ab34b044a6a57f417f4d57ab0a2a87605b0b8734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 31 Aug 2020 16:59:51 +0200 Subject: [PATCH] Noggin: set the application root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/noggin/templates/noggin.cfg.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/openshift-apps/noggin/templates/noggin.cfg.py b/roles/openshift-apps/noggin/templates/noggin.cfg.py index d4e0e540ef..00107ffc4e 100644 --- a/roles/openshift-apps/noggin/templates/noggin.cfg.py +++ b/roles/openshift-apps/noggin/templates/noggin.cfg.py @@ -5,11 +5,15 @@ def from_file(path): return open(path, 'r').read().strip() +# Deployed to a subpath +APPLICATION_ROOT = '/accounts/' + # IPA settings FREEIPA_SERVERS = ['{{ ipa_server }}'] FREEIPA_CACERT = '/etc/ipa/ca.crt' # Cookies +SESSION_COOKIE_NAME = 'noggin' SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_SECURE = True