Noggin: set the application root

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-08-31 16:59:51 +02:00
parent 7b2d93d56a
commit ab34b044a6
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -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