Noggin: set the application root
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
7b2d93d56a
commit
ab34b044a6
1 changed files with 4 additions and 0 deletions
|
@ -5,11 +5,15 @@
|
||||||
def from_file(path):
|
def from_file(path):
|
||||||
return open(path, 'r').read().strip()
|
return open(path, 'r').read().strip()
|
||||||
|
|
||||||
|
# Deployed to a subpath
|
||||||
|
APPLICATION_ROOT = '/accounts/'
|
||||||
|
|
||||||
# IPA settings
|
# IPA settings
|
||||||
FREEIPA_SERVERS = ['{{ ipa_server }}']
|
FREEIPA_SERVERS = ['{{ ipa_server }}']
|
||||||
FREEIPA_CACERT = '/etc/ipa/ca.crt'
|
FREEIPA_CACERT = '/etc/ipa/ca.crt'
|
||||||
|
|
||||||
# Cookies
|
# Cookies
|
||||||
|
SESSION_COOKIE_NAME = 'noggin'
|
||||||
SESSION_COOKIE_HTTPONLY = True
|
SESSION_COOKIE_HTTPONLY = True
|
||||||
SESSION_COOKIE_SECURE = True
|
SESSION_COOKIE_SECURE = True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue