invidious: disable CSP
This commit is contained in:
parent
1feed32d7c
commit
1b517bb306
@ -143,13 +143,14 @@ inv.{{ server_prefix }}.projectsegfau.lt i.{{ server_prefix }}.psf.lt {
|
||||
uri @jpgRedirect replace /maxres.jpg /maxres2.jpg
|
||||
rewrite /vi/* ?host=i.ytimg.com
|
||||
}
|
||||
header -X-Frame-Options
|
||||
log {
|
||||
# This is temporarily required to monitor nitter traffic due to scrapers being more active, so we need to monitor and rate limit them at a later date.
|
||||
output file /var/log/caddy/ratelimiters.log
|
||||
format json
|
||||
}
|
||||
import def
|
||||
header -X-Frame-Options
|
||||
header -Content-Security-Policy
|
||||
import torloc inv
|
||||
}
|
||||
gothub.{{ server_prefix }}.projectsegfau.lt gothub.projectsegfau.lt gh.psf.lt gh.{{ server_prefix }}.psf.lt {
|
||||
|
@ -30,6 +30,7 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg
|
||||
}
|
||||
import def
|
||||
header -X-Frame-Options
|
||||
header -Content-Security-Policy
|
||||
import torloc invbp
|
||||
}
|
||||
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
|
||||
|
Loading…
Reference in New Issue
Block a user