Skip to content

Commit

Permalink
Merge pull request #160 from betagouv/update/increment-hsts-600
Browse files Browse the repository at this point in the history
Augmente le hsts max-age à 10 minutes
  • Loading branch information
baptou12 authored Oct 18, 2023
2 parents cacf436 + 4700dfe commit 815eebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/bootstrap/templates/nginx_config.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ssl_certificate_key /etc/letsencrypt/live/{{ service_domain }}/privkey.pem;
include snippets/ssl_params.conf;

add_header Strict-Transport-Security "max-age=300; includeSubDomains";
add_header Strict-Transport-Security "max-age=600; includeSubDomains";

{%- endmacro %}

Expand Down

0 comments on commit 815eebb

Please sign in to comment.