Update HSTS max-age to 31536000 seconds

The recommendation is to use at least 1 year for this value, which is checked by scanners such as https://internet.nl/.
This commit is contained in:
Bob van de Vijver 2026-03-31 20:55:59 +02:00 committed by Bob van de Vijver
parent ec24825280
commit d2a2bb28f8
No known key found for this signature in database

View file

@ -12,7 +12,7 @@ ssl_session_cache shared:SSL:50m;
ssl_session_timeout 1d;
ssl_session_tickets off;
add_header Strict-Transport-Security "max-age=15768000;";
add_header Strict-Transport-Security "max-age=31536000;";
add_header X-Content-Type-Options nosniff;
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;