Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / conf / 10-snf-webproject-deploy.conf @ d63a86d6

History | View | Annotate | Download (1.4 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 6d20b7f3 Vangelis Koukis
## Settings / cookies that should be 'cleansed'
21 6d20b7f3 Vangelis Koukis
#HIDDEN_SETTINGS = 'SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE|AMQP_HOSTS|PRIVATE_KEY|DB_CONNECTION'
22 ef06f09d Stratos Psomadakis
#HIDDEN_COOKIES  = 'password|_pithos2_a|token|sessionid|shibstate|shibsession|CSRF_COOKIE'
23 8b812637 Kostas Papadimitriou
#
24 8b812637 Kostas Papadimitriou
## Set the url you want to redirect users to when they access the root path of 
25 8b812637 Kostas Papadimitriou
## your site.
26 8b812637 Kostas Papadimitriou
#WEBPROJECT_ROOT_REDIRECT = None
27 49c0d427 Kostas Papadimitriou
#
28 49c0d427 Kostas Papadimitriou
##When set to True, if the request URL does not match any of the patterns in the
29 49c0d427 Kostas Papadimitriou
##URLconf and it doesn't end in a slash, an HTTP redirect is issued to the same
30 49c0d427 Kostas Papadimitriou
##URL with a slash appended. Note that the redirect may cause any data submitted
31 49c0d427 Kostas Papadimitriou
##in a POST request to be lost. Due to the REST nature of most of the registered
32 49c0d427 Kostas Papadimitriou
##Synnefo endpoints we prefer to disable this behaviour by default.
33 49c0d427 Kostas Papadimitriou
#APPEND_SLASH = False