vps/nginx/snippets/ssl-headers.conf

4 lines
196 B
Text
Raw Permalink Normal View History

2024-10-15 21:44:02 +02:00
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
# add_header X-Robots-Tag "noindex, nofollow" always;
add_header Set-Cookie "Path=/; HttpOnly; Secure";