Skip to content

Deploy behind https proxy

DerouineauNicolas edited this page Dec 15, 2020 · 2 revisions

in settings.py

USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
Clone this wiki locally