Skip to content

Commit 5e15263

Browse files
committed
django secure proxy setting
1 parent 06cae6a commit 5e15263

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/settings.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
ALLOWED_HOSTS = ['*']
44

5+
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
6+
57
try:
68
CSRF_TRUSTED_ORIGINS += ['https://uw.test.instructure.com']
79
except NameError:

0 commit comments

Comments
 (0)