diff --git a/src/docs/markdown/caddyfile/directives/header.md b/src/docs/markdown/caddyfile/directives/header.md index 1307998..46c91eb 100644 --- a/src/docs/markdown/caddyfile/directives/header.md +++ b/src/docs/markdown/caddyfile/directives/header.md @@ -51,10 +51,13 @@ Replace `http://` with `https://` in any Location header: header Location http:// https:// ``` -Set security headers on all pages: (**WARNING:** only use if you understand the implications!) +Set security and privacy headers on all pages: (**WARNING:** only use if you understand the implications!) ```caddy-d header { + # disable FLoC tracking + Permissions-Policy interest-cohort=() + # enable HSTS Strict-Transport-Security max-age=31536000;