Skip to content

Commit

Permalink
Increase HSTS max-age to 1 year and use preload
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcadman committed Nov 11, 2024
1 parent 1daa77a commit 7eda8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp_python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
RESPONSE_HEADERS = {
"Content-Security-Policy": "default-src 'self'; frame-ancestors 'none'; upgrade-insecure-requests",
"Referrer-Policy": "strict-origin-when-cross-origin",
"Strict-Transport-Security": "max-age=300; includeSubDomains",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
"X-Content-Type-Options": "nosniff",
}

Expand Down

0 comments on commit 7eda8a6

Please sign in to comment.