caddyfmt on the templated Caddyfile as well

This commit is contained in:
Arya 2024-11-17 17:55:56 +05:30
parent 0782130f36
commit bf4cca9ec9
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -80,7 +80,6 @@
@denied client_ip {{ blocked_ranges }} @denied client_ip {{ blocked_ranges }}
respond @denied "Unfortunately, your IP is part of a range that has been involved in mass spam to our servers. If you think our action was a mistake, please email contact@projectsegfau.lt." 403 respond @denied "Unfortunately, your IP is part of a range that has been involved in mass spam to our servers. If you think our action was a mistake, please email contact@projectsegfau.lt." 403
import acmedns import acmedns
} }
@ -132,7 +131,7 @@ teddit.{{ server_prefix }}.projectsegfau.lt teddit.projectsegfau.lt t.psf.lt t.{
} }
inv.{{ server_prefix }}.projectsegfau.lt i.{{ server_prefix }}.psf.lt { inv.{{ server_prefix }}.projectsegfau.lt i.{{ server_prefix }}.psf.lt {
reverse_proxy :7573 { reverse_proxy :7573 {
header_up Host "inv.{{server_prefix}}.projectsegfau.lt" header_up Host "inv.{{ server_prefix }}.projectsegfau.lt"
} }
@pipedproxy { @pipedproxy {
path /videoplayback path /videoplayback
@ -142,7 +141,7 @@ inv.{{ server_prefix }}.projectsegfau.lt i.{{ server_prefix }}.psf.lt {
} }
handle @pipedproxy { handle @pipedproxy {
reverse_proxy :6970 { reverse_proxy :6970 {
header_up Host "pipedproxy.{{server_prefix}}.projectsegfau.lt" header_up Host "pipedproxy.{{ server_prefix }}.projectsegfau.lt"
} }
@jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg @jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg
@thumbnailRedirect path /ggpht/* @thumbnailRedirect path /ggpht/*