SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 69132fcf authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Activate HSTS security headers

parent f3672a35
No related branches found
No related tags found
No related merge requests found
...@@ -188,6 +188,9 @@ MIDDLEWARE = ( ...@@ -188,6 +188,9 @@ MIDDLEWARE = (
) )
SECURE_BROWSER_XSS_FILTER = True SECURE_BROWSER_XSS_FILTER = True
SECURE_HSTS_SECONDS = 60
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
SECURE_HSTS_PRELOAD = True
ROOT_URLCONF = 'SciPost_v1.urls' ROOT_URLCONF = 'SciPost_v1.urls'
......
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