diff --git a/bundles/nginx/files/site_template b/bundles/nginx/files/site_template index ab755c3..5853cfb 100644 --- a/bundles/nginx/files/site_template +++ b/bundles/nginx/files/site_template @@ -19,6 +19,7 @@ server { ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; + ssl_session_tickets off; add_header Strict-Transport-Security "max-age=63072000; includeSubDomains"; % else: @@ -33,6 +34,7 @@ server { add_header Referrer-Policy same-origin; add_header X-Frame-Options "SAMEORIGIN"; add_header X-Content-Type-Options nosniff; + add_header X-XSS-Protection "1; mode=block"; % endif location /.well-known/acme-challenge/ {