mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 12:36:16 -04:00
docs: explain how to disabl FLoC (#152)
This commit is contained in:
parent
bd9d8eaf71
commit
371993227e
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue