mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-12-12 21:30:41 +05:30
commit
150b857acc
@ -1,61 +1,32 @@
|
|||||||
{
|
(global) {
|
||||||
servers :443 {
|
header {
|
||||||
protocol {
|
# disable FLoC tracking
|
||||||
experimental_http3
|
Permissions-Policy interest-cohort=()
|
||||||
}
|
|
||||||
|
# enable HSTS
|
||||||
|
Strict-Transport-Security max-age=31536000;
|
||||||
|
|
||||||
|
# keep referrer data off
|
||||||
|
Referrer-Policy no-referrer
|
||||||
|
|
||||||
|
# prevent for appearing in search engine for private instances (option)
|
||||||
|
#X-Robots-Tag noindex
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FRONTEND_HOSTNAME {
|
FRONTEND_HOSTNAME {
|
||||||
reverse_proxy pipedfrontend:80
|
reverse_proxy pipedfrontend:80
|
||||||
header {
|
import global
|
||||||
# disable FLoC tracking
|
|
||||||
Permissions-Policy interest-cohort=()
|
|
||||||
|
|
||||||
# enable HSTS
|
|
||||||
Strict-Transport-Security max-age=31536000;
|
|
||||||
|
|
||||||
# keep referrer data off
|
|
||||||
Referrer-Policy no-referrer
|
|
||||||
|
|
||||||
# prevent for appearing in search engine for private instances (option)
|
|
||||||
#X-Robots-Tag noindex
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BACKEND_HOSTNAME {
|
BACKEND_HOSTNAME {
|
||||||
reverse_proxy varnish:80
|
reverse_proxy varnish:80
|
||||||
header {
|
import global
|
||||||
# disable FLoC tracking
|
|
||||||
Permissions-Policy interest-cohort=()
|
|
||||||
|
|
||||||
# enable HSTS
|
|
||||||
Strict-Transport-Security max-age=31536000;
|
|
||||||
|
|
||||||
# keep referrer data off
|
|
||||||
Referrer-Policy no-referrer
|
|
||||||
|
|
||||||
# prevent for appearing in search engine for private instances (option)
|
|
||||||
#X-Robots-Tag noindex
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PROXY_HOSTNAME {
|
PROXY_HOSTNAME {
|
||||||
@ytproxy path /videoplayback* /api/v4/* /api/manifest/*
|
@ytproxy path /videoplayback* /api/v4/* /api/manifest/*
|
||||||
|
import global
|
||||||
header {
|
|
||||||
# disable FLoC tracking
|
|
||||||
Permissions-Policy interest-cohort=()
|
|
||||||
|
|
||||||
# enable HSTS
|
|
||||||
Strict-Transport-Security max-age=31536000;
|
|
||||||
|
|
||||||
# keep referrer data off
|
|
||||||
Referrer-Policy no-referrer
|
|
||||||
|
|
||||||
# prevent for appearing in search engine for private instances (option)
|
|
||||||
#X-Robots-Tag noindex
|
|
||||||
}
|
|
||||||
|
|
||||||
route {
|
route {
|
||||||
header @ytproxy {
|
header @ytproxy {
|
||||||
|
Loading…
Reference in New Issue
Block a user