vps/roles/nginx/templates/snippets/ssl-headers.conf

4 lines
196 B
Text
Raw Normal View History

2024-03-02 11:57:21 +01: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";