Skip to content
Snippets Groups Projects
Commit f6e84e84 authored by ichuang's avatar ichuang
Browse files

SECURE_PROXY_SSL_HEADER for django-1.4 in envs/dev_ike for nginx ssl proxy

parent b159eb48
No related merge requests found
......@@ -21,6 +21,8 @@ myhost = socket.gethostname()
if ('edxvm' in myhost) or ('ocw' in myhost):
MITX_FEATURES['DISABLE_LOGIN_BUTTON'] = True # auto-login with MIT certificate
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https') # django 1.4 for nginx ssl proxy
#-----------------------------------------------------------------------------
# disable django debug toolbars
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment