add priviblur; inv -> ratelimiters.log

This commit is contained in:
2024-05-08 11:55:11 +05:30
parent 491ef10392
commit 1f524d25bc
4 changed files with 101 additions and 0 deletions

View File

@@ -144,6 +144,11 @@ inv.{{ server_prefix }}.projectsegfau.lt i.{{ server_prefix }}.psf.lt {
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
import torloc inv
}
@@ -271,3 +276,8 @@ pi.{{ server_prefix }}.psf.lt {
header -X-Frame-Options
import def
}
priviblur.{{ server_prefix }}.projectsegfau.lt priviblur.projectsegfau.lt pb.psf.lt pb.{{ server_prefix }}.psf.lt {
import def
reverse_proxy :9084
import torloc priviblur
}

View File

@@ -6,6 +6,11 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg
reverse_proxy localhost: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/*