From 371993227e999b2c0cc18607ca2e4adb6052d1a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Fri, 16 Apr 2021 19:36:28 +0200 Subject: [PATCH] docs: explain how to disabl FLoC (#152) --- src/docs/markdown/caddyfile/directives/header.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;