Skip to content
Snippets Groups Projects
Commit c5fd49ab authored by Antoine Lambert's avatar Antoine Lambert
Browse files

setup support for proxy headers in django

closes T806
parent 487f2dbe
No related branches found
No related tags found
No related merge requests found
......@@ -191,3 +191,7 @@ LOGGING = {
}
SILENCED_SYSTEM_CHECKS = ['1_7.W001', '1_8.W001']
# Setup support for proxy headers
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
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