move logging after importing def
This commit is contained in:
@@ -6,11 +6,6 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg
|
||||
reverse_proxy :7573 {
|
||||
header_up Host "invidious.projectsegfau.lt"
|
||||
}
|
||||
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
|
||||
}
|
||||
@pipedproxy {
|
||||
path /videoplayback
|
||||
path /videoplayback/*
|
||||
@@ -31,6 +26,11 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg
|
||||
import def
|
||||
header -X-Frame-Options
|
||||
header -Content-Security-Policy
|
||||
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 torloc invbp
|
||||
}
|
||||
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
|
||||
|
||||
Reference in New Issue
Block a user