diff --git a/privfrontends/templates/Caddyfile.j2 b/privfrontends/templates/Caddyfile.j2 index 051a44a..aafed19 100644 --- a/privfrontends/templates/Caddyfile.j2 +++ b/privfrontends/templates/Caddyfile.j2 @@ -111,10 +111,10 @@ inv.{{ server_prefix }}.projectsegfau.lt i.{{ server_prefix }}.psf.lt { path /ggpht/* } handle @pipedproxy { - reverse_proxy https://proxy.piped.projectsegfau.lt - #reverse_proxy :6970 { + reverse_proxy :6970 { #header_up Host "pipedproxy.{{server_prefix}}.projectsegfau.lt" - #} + header_up Host "proxy.piped.projectsegfau.lt" + } @jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg @thumbnailRedirect path /ggpht/* uri @thumbnailRedirect strip_prefix /ggpht