root / snf-webproject / synnefo / webproject / settings / default / deploy.py @ f12085fa
History | View | Annotate | Download (868 Bytes)
1 |
# Deployment settings
|
---|---|
2 |
##################################
|
3 |
|
4 |
DEBUG = False
|
5 |
TEMPLATE_DEBUG = False
|
6 |
|
7 |
# Use secure cookie for django sessions cookie, change this if you don't plan
|
8 |
# to deploy applications using https
|
9 |
SESSION_COOKIE_SECURE = True
|
10 |
|
11 |
# You should always change this setting.
|
12 |
# Make this unique, and don't share it with anybody.
|
13 |
SECRET_KEY = 'ly6)mw6a7x%n)-e#zzk4jo6f2=uqu!1o%)2-(7lo+f9yd^k^bg'
|
14 |
|
15 |
# A boolean that specifies whether to use the X-Forwarded-Host header in
|
16 |
# preference to the Host header. This should only be enabled if a proxy which
|
17 |
# sets this header is in use.
|
18 |
USE_X_FORWARDED_HOST = True
|
19 |
|
20 |
# Settings / meta / cookies that should be 'cleansed'
|
21 |
HIDDEN_SETTINGS = 'SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE|TOKEN|AMQP_HOSTS|PRIVATE_KEY|DB_CONNECTION'
|
22 |
HIDDEN_META = HIDDEN_SETTINGS + '|_pithos2_a|token|sessionid|shibstate|shibsession|CSRF_COOKIE'
|