2023-08-25 15:36:52 +05:30
|
|
|
sl.projectsegfau.lt sl.psf.lt {
|
2023-08-12 18:38:30 +05:30
|
|
|
reverse_proxy :7777
|
|
|
|
import def
|
|
|
|
}
|
2023-11-13 14:26:56 +05:30
|
|
|
inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectsegfau.lt, i.psf.lt {
|
2024-05-09 15:15:43 +05:30
|
|
|
reverse_proxy :7573 {
|
2023-11-28 23:18:43 +05:30
|
|
|
header_up Host "invidious.projectsegfau.lt"
|
2023-11-23 15:55:00 +05:30
|
|
|
}
|
2023-12-24 20:45:10 +05:30
|
|
|
@pipedproxy {
|
|
|
|
path /videoplayback
|
|
|
|
path /videoplayback/*
|
|
|
|
path /vi/*
|
|
|
|
path /ggpht/*
|
|
|
|
}
|
|
|
|
handle @pipedproxy {
|
|
|
|
reverse_proxy :6970 {
|
|
|
|
header_up Host "proxy.piped.projectsegfau.lt"
|
|
|
|
}
|
|
|
|
@jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg
|
|
|
|
@thumbnailRedirect path /ggpht/*
|
|
|
|
uri @thumbnailRedirect strip_prefix /ggpht
|
|
|
|
rewrite @thumbnailRedirect ?host=yt3.ggpht.com
|
|
|
|
uri @jpgRedirect replace /maxres.jpg /maxres2.jpg
|
|
|
|
rewrite /vi/* ?host=i.ytimg.com
|
|
|
|
}
|
2023-11-23 15:55:00 +05:30
|
|
|
import def
|
|
|
|
header -X-Frame-Options
|
2024-05-09 15:27:18 +05:30
|
|
|
header -Content-Security-Policy
|
2024-05-26 13:05:12 +05:30
|
|
|
@ratelimit not path /videoplayback/* /ggpht/* /vi/* /videoplayback /videojs/* /css/* /js/* /fonts/* /apple-touch-icon.png /favicon-16x16.png /feed/webhook /feed/webhook/*
|
|
|
|
rate_limit @ratelimit {remote.ip} 10r/s
|
2024-05-26 14:38:28 +05:30
|
|
|
rate_limit @ratelimit {remote.ip} 100r/m
|
2024-05-28 20:30:10 +05:30
|
|
|
@ratelimit_pubsub path /feed/webhook /feed/webhook/*
|
|
|
|
rate_limit @ratelimit_pubsub {remote.ip} 2r/s 404
|
2024-11-17 17:50:33 +05:30
|
|
|
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
|
|
|
|
}
|
2023-07-20 14:24:04 +05:30
|
|
|
import torloc invbp
|
2023-11-10 11:21:55 +05:30
|
|
|
}
|
2023-12-24 20:45:10 +05:30
|
|
|
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
|
|
|
|
reverse_proxy :6970
|
|
|
|
header -X-Frame-Options
|
|
|
|
import def
|
|
|
|
}
|
2023-11-10 11:21:55 +05:30
|
|
|
pi.psf.lt {
|
2023-12-24 20:45:10 +05:30
|
|
|
reverse_proxy :6970 {
|
|
|
|
header_up Host "piped.projectsegfau.lt"
|
|
|
|
}
|
|
|
|
header -X-Frame-Options
|
|
|
|
import def
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|
|
|
|
proxy.lbry.projectsegfau.lt {
|
2024-05-09 15:15:43 +05:30
|
|
|
reverse_proxy :3001
|
2023-07-20 14:24:04 +05:30
|
|
|
import def
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|
2023-05-29 14:08:34 +05:30
|
|
|
aryak.me {
|
2023-07-20 14:24:04 +05:30
|
|
|
reverse_proxy https://prox-arya.p.projectsegfau.lt {
|
|
|
|
header_up Host prox-arya.p.projectsegfau.lt
|
|
|
|
}
|
2023-05-29 14:08:34 +05:30
|
|
|
}
|
|
|
|
arya.projectsegfau.lt {
|
|
|
|
redir https://aryak.me{uri}
|
2023-11-23 15:55:00 +05:30
|
|
|
import acmedns
|
2023-05-29 14:08:34 +05:30
|
|
|
}
|
|
|
|
## OLD URL REDIRECTS
|
2023-07-17 22:36:06 +05:30
|
|
|
bb.us.projectsegfau.lt bb.in.projectsegfau.lt bb.eu.projectsegfau.lt bb.projectsegfau.lt {
|
2023-07-20 14:24:04 +05:30
|
|
|
import def
|
|
|
|
import torloc beatbump
|
|
|
|
redir https://hyperpipe.projectsegfau.lt{uri}
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|
2023-12-23 02:54:28 +05:30
|
|
|
ferrit.projectsegfau.lt snooddit.projectsegfau.lt {
|
2023-07-20 14:24:04 +05:30
|
|
|
redir https://libreddit.projectsegfau.lt{uri} permanent
|
2024-01-11 16:11:05 +05:30
|
|
|
import acmedns
|
2023-05-29 14:08:34 +05:30
|
|
|
}
|
2023-10-13 20:13:36 +05:30
|
|
|
www.midou.dev midou.dev {
|
2024-11-17 17:50:33 +05:30
|
|
|
# reverse_proxy https://midou36o.github.io {
|
|
|
|
# header_up Host {http.reverse_proxy.upstream.hostport}
|
|
|
|
# }
|
|
|
|
#root * /var/www/midouwebsite
|
|
|
|
reverse_proxy :3000
|
|
|
|
# Apparently sveltekit built apps needs to have strict path tries.
|
|
|
|
#try_files {path} {path}/index.html {path}.html =404
|
|
|
|
#file_server
|
2023-10-12 17:40:54 +05:30
|
|
|
}
|
2024-03-03 04:11:56 +05:30
|
|
|
file.midou.dev {
|
|
|
|
reverse_proxy :8986
|
|
|
|
}
|
|
|
|
fastdl.midou.dev {
|
2024-11-17 17:50:33 +05:30
|
|
|
root * /srv/fastdl-tf2
|
|
|
|
file_server browse
|
2024-03-03 04:11:56 +05:30
|
|
|
}
|