From 0cc1cf1f43875ff8772fb95b9459759dcdd97875 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Tue, 20 Feb 2024 14:17:20 +0100 Subject: [PATCH] Nonic forcing us to comply to russians? Who would've thought so! --- privfrontends/templates/eu/misc.Caddyfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/privfrontends/templates/eu/misc.Caddyfile b/privfrontends/templates/eu/misc.Caddyfile index 64bf0dd..128ef3f 100644 --- a/privfrontends/templates/eu/misc.Caddyfile +++ b/privfrontends/templates/eu/misc.Caddyfile @@ -6,6 +6,25 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg reverse_proxy localhost:7573 { header_up Host "invidious.projectsegfau.lt" } + handle @blocked { + header Content-Type text/html + } + # Nonic is fucking us up. I hope we can find a better provider very soon. + respond @blocked 410 { + body < + Content blocked. +

This page/channel/video is blocked due to Nonic forcing us to honor the fraudulent takedown request.

+

You may access this channel through our other servers or any public invidious instance.

+

Replace this url with i.in.psf.lt or i.us.psf.lt.

+

Sorry for the inconvenience. This page will be back up once we find a better provider.

+ + + HTML + } + @blocked { + path /channel/UC9GX7E1o69jz1QvO5QvbkZQ + } @pipedproxy { path /videoplayback path /videoplayback/*