Skip to content
Snippets Groups Projects
Commit d2cb0563 authored by Ben Adida's avatar Ben Adida
Browse files

proxy ssl

parent 54d28387
Branches
Tags
No related merge requests found
......@@ -74,6 +74,7 @@ SECRET_KEY = get_from_env('SECRET_KEY', 'replaceme')
if (get_from_env('SSL', '0') == '1'):
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTOCOL", "https")
SESSION_COOKIE_HTTPONLY = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment