Add mta-sts configuration

This commit is contained in:
2024-06-06 13:52:15 +02:00
parent c79682eb0b
commit df35dc5e05
4 changed files with 20 additions and 6 deletions

View File

@ -1,6 +1,5 @@
server {
listen [::]:443 ssl proxy_protocol http2;
add_header Expect-CT "max-age=86400, enforce" always;
listen [::]:443 ssl http2;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
root /var/www/html;
location / {