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

removed subdomain hsts

parent 046cbf07
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,8 @@ SESSION_COOKIE_HTTPONLY = True
# one week HSTS seems like a good balance for MITM prevention
if (get_from_env('HSTS', '0') == '1'):
SECURE_HSTS_SECONDS = 3600 * 24 * 7
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
# not doing subdomains for now cause that is not likely to be necessary and can screw things up.
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment