Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / conf / 10-snf-webproject-deploy.conf @ 49026a89

History | View | Annotate | Download (1.6 kB)

1 6d20b7f3 Vangelis Koukis
## Deployment settings
2 6d20b7f3 Vangelis Koukis
###################################
3 6d20b7f3 Vangelis Koukis
#
4 6d20b7f3 Vangelis Koukis
#DEBUG = False
5 6d20b7f3 Vangelis Koukis
#TEMPLATE_DEBUG = False
6 6d20b7f3 Vangelis Koukis
#
7 6d20b7f3 Vangelis Koukis
## Use secure cookie for django sessions cookie, change this if you don't plan
8 6d20b7f3 Vangelis Koukis
## to deploy applications using https
9 6d20b7f3 Vangelis Koukis
#SESSION_COOKIE_SECURE = True
10 6d20b7f3 Vangelis Koukis
#
11 6d20b7f3 Vangelis Koukis
## You should always change this setting.
12 6d20b7f3 Vangelis Koukis
## Make this unique, and don't share it with anybody.
13 6d20b7f3 Vangelis Koukis
#SECRET_KEY = 'ly6)mw6a7x%n)-e#zzk4jo6f2=uqu!1o%)2-(7lo+f9yd^k^bg'
14 6d20b7f3 Vangelis Koukis
#
15 6d20b7f3 Vangelis Koukis
## A boolean that specifies whether to use the X-Forwarded-Host header in
16 6d20b7f3 Vangelis Koukis
## preference to the Host header. This should only be enabled if a proxy which
17 6d20b7f3 Vangelis Koukis
## sets this header is in use.
18 6d20b7f3 Vangelis Koukis
#USE_X_FORWARDED_HOST = True
19 6d20b7f3 Vangelis Koukis
#
20 8ae38ff8 Stratos Psomadakis
## Settings / Cookies / Headers that should be 'cleansed'
21 8ae38ff8 Stratos Psomadakis
#HIDDEN_SETTINGS = 'SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE|AMQP_HOSTS|'\
22 8ae38ff8 Stratos Psomadakis
#                  'PRIVATE_KEY|DB_CONNECTION|TOKEN'
23 8ae38ff8 Stratos Psomadakis
#HIDDEN_COOKIES = ['password', '_pithos2_a', 'token', 'sessionid', 'shibstate',
24 8ae38ff8 Stratos Psomadakis
#                  'shibsession', 'CSRF_COOKIE']
25 8ae38ff8 Stratos Psomadakis
#HIDDEN_HEADERS = ['HTTP_X_AUTH_TOKEN', 'HTTP_COOKIE']
26 8ae38ff8 Stratos Psomadakis
## Mail size limit for unhandled exception
27 8ae38ff8 Stratos Psomadakis
#MAIL_MAX_LEN = 100 * 1024 # (100KB)
28 8b812637 Kostas Papadimitriou
#
29 8b812637 Kostas Papadimitriou
## Set the url you want to redirect users to when they access the root path of 
30 8b812637 Kostas Papadimitriou
## your site.
31 8b812637 Kostas Papadimitriou
#WEBPROJECT_ROOT_REDIRECT = None
32 49c0d427 Kostas Papadimitriou
#
33 49c0d427 Kostas Papadimitriou
##When set to True, if the request URL does not match any of the patterns in the
34 49c0d427 Kostas Papadimitriou
##URLconf and it doesn't end in a slash, an HTTP redirect is issued to the same
35 49c0d427 Kostas Papadimitriou
##URL with a slash appended. Note that the redirect may cause any data submitted
36 49c0d427 Kostas Papadimitriou
##in a POST request to be lost. Due to the REST nature of most of the registered
37 49c0d427 Kostas Papadimitriou
##Synnefo endpoints we prefer to disable this behaviour by default.
38 49c0d427 Kostas Papadimitriou
#APPEND_SLASH = False