move logging after importing def
This commit is contained in:
parent
e5ebdf73b1
commit
5d882286d3
@ -143,15 +143,14 @@ inv.{{ server_prefix }}.projectsegfau.lt i.{{ server_prefix }}.psf.lt {
|
|||||||
uri @jpgRedirect replace /maxres.jpg /maxres2.jpg
|
uri @jpgRedirect replace /maxres.jpg /maxres2.jpg
|
||||||
rewrite /vi/* ?host=i.ytimg.com
|
rewrite /vi/* ?host=i.ytimg.com
|
||||||
}
|
}
|
||||||
|
import def
|
||||||
|
header -X-Frame-Options
|
||||||
|
header -Content-Security-Policy
|
||||||
log {
|
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.
|
# 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
|
output file /var/log/caddy/ratelimiters.log
|
||||||
format json
|
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 {
|
gothub.{{ server_prefix }}.projectsegfau.lt gothub.projectsegfau.lt gh.psf.lt gh.{{ server_prefix }}.psf.lt {
|
||||||
reverse_proxy :1024
|
reverse_proxy :1024
|
||||||
|
@ -6,11 +6,6 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg
|
|||||||
reverse_proxy :7573 {
|
reverse_proxy :7573 {
|
||||||
header_up Host "invidious.projectsegfau.lt"
|
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 {
|
@pipedproxy {
|
||||||
path /videoplayback
|
path /videoplayback
|
||||||
path /videoplayback/*
|
path /videoplayback/*
|
||||||
@ -31,6 +26,11 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg
|
|||||||
import def
|
import def
|
||||||
header -X-Frame-Options
|
header -X-Frame-Options
|
||||||
header -Content-Security-Policy
|
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
|
import torloc invbp
|
||||||
}
|
}
|
||||||
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
|
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
|
||||||
|
Loading…
Reference in New Issue
Block a user