From 2ca8334b6d16fe1e9fd805c0d8bb2b37ab880926 Mon Sep 17 00:00:00 2001 From: tootbrute Date: Thu, 26 Mar 2026 14:59:35 +0800 Subject: [PATCH] turned off firewall --- configuration.nix | 2 +- services/Caddyfile | 34 ++-------------------------------- 2 files changed, 3 insertions(+), 33 deletions(-) diff --git a/configuration.nix b/configuration.nix index 85ef8ec..4607322 100644 --- a/configuration.nix +++ b/configuration.nix @@ -195,7 +195,7 @@ networking.firewall = { # enable the firewall - enable = true; + enable = false; # allow all ports from your Tailscale network trustedInterfaces = [ "tailscale0" ]; diff --git a/services/Caddyfile b/services/Caddyfile index 550e69d..8a2f477 100644 --- a/services/Caddyfile +++ b/services/Caddyfile @@ -1,33 +1,3 @@ -{ - email tootbrute@tutanota.com -} - -*.knossos.arkadi.one { - - vars { - # IP address of My Tailscale Server - tailscale_ip 100.95.204.90 - } - - tls { - dns gandi c7fd5d10953bb72845dbb4668c8f459d111e609c - } - - @knossos host knossos.arkadi.one - handle @knossos { - reverse_proxy http://127.0.0.1:80 - } - - @jellyfin host jellyfin.knossos.arkadi.one - handle @jellyfin { - reverse_proxy {vars.tailscale_ip}:8096 - } - @books host books.knossos.arkadi.one - handle @books { - reverse_proxy {vars.tailscale_ip}:8083 - } - # Fallback for otherwise unhandled domains - handle { - abort - } +jellyfin.knossos.arkadi.one{ + reverse_proxy localhost:8096 }