ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit 473574500063d6ea2ef75d9fdd4093b2ee581033
parent 5991413223cde357d6662515d97ef68d7b135c48
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Fri, 21 Oct 2022 13:21:53 +0300

haproxy: Update HSTS header's max-age to one year

Diffstat:
ansible/roles/haproxy/templates/haproxy.cfg.j2 | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2 @@ -40,7 +40,7 @@ frontend eighty frontend ssl bind *:443 ssl crt-list /etc/haproxy/crt-list.cfg mode http - http-response set-header Strict-Transport-Security max-age=16000000;\ includeSubDomains;\ preload + http-response set-header Strict-Transport-Security max-age=31536000;\ includeSubDomains;\ preload http-request set-header X-Forwarded-Proto https if { ssl_fc } use_backend local if { url_beg /.well-known }