projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3a044
)
additional support for Django CSRF verification.
author
Bryan
<btbonval@gmail.com>
Fri, 7 Feb 2014 07:10:29 +0000
(
02:10
-0500)
committer
Bryan
<btbonval@gmail.com>
Fri, 7 Feb 2014 07:10:29 +0000
(
02:10
-0500)
karmaworld/settings/prod.py
patch
|
blob
|
history
diff --git
a/karmaworld/settings/prod.py
b/karmaworld/settings/prod.py
index 4231ce28e2a53bb6662650008568aee4f2eed050..c10baa79f192acf9574a0695981e837339959a67 100644
(file)
--- a/
karmaworld/settings/prod.py
+++ b/
karmaworld/settings/prod.py
@@
-141,6
+141,10
@@
AWS_HEADERS = {
STATIC_URL = S3_URL
########## END STORAGE CONFIGURATION
+########## SSL FORWARDING CONFIGURATION
+SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
+########## END SSL FORWARDING CONFIGURATION
+
########## MIDDLEWARE CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#middleware-classes
MIDDLEWARE_CLASSES += (