From 97a9624d556af61981da1fbd80f9ec66bd398cd4 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 24 Jan 2025 15:22:23 +0000 Subject: [PATCH] =?UTF-8?q?Caddyfile=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Caddyfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Caddyfile diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..0489282 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,15 @@ +jellyfin.your.domain { + @denied not { + client_ip 192.168.178.0/24 # IPv4 range + client_ip fd00::/8 # Common private IPv6 range + } + abort @denied + + reverse_proxy http://localhost:8096 { + header_up Host {http.request.host} + header_up X-Real-IP {remote_host} + header_up X-Forwarded-For {remote_host} + header_up X-Forwarded-Proto {scheme} + + } +} \ No newline at end of file