diff --git a/modules/server/caddy/kolyma-2.nix b/modules/server/caddy/kolyma-2.nix index 04b1630..30c2671 100644 --- a/modules/server/caddy/kolyma-2.nix +++ b/modules/server/caddy/kolyma-2.nix @@ -19,7 +19,8 @@ "http://2a01:4f9:5a:5110::" ]; extraConfig = '' - reverse_proxy 127.0.0.1:8440 + root * ${pkgs.personal.gate}/www + file_server ''; }; diff --git a/modules/server/caddy/kolyma-3.nix b/modules/server/caddy/kolyma-3.nix index 4ae204a..89707f8 100644 --- a/modules/server/caddy/kolyma-3.nix +++ b/modules/server/caddy/kolyma-3.nix @@ -19,7 +19,8 @@ "http://2a01:4f9:3070:322c::" ]; extraConfig = '' - reverse_proxy 127.0.0.1:8440 + root * ${pkgs.personal.gate}/www + file_server ''; }; diff --git a/modules/server/caddy/kolyma-4.nix b/modules/server/caddy/kolyma-4.nix index 27aa48c..79ac7ee 100644 --- a/modules/server/caddy/kolyma-4.nix +++ b/modules/server/caddy/kolyma-4.nix @@ -19,7 +19,8 @@ "http://2a01:4f9:3071:31ce::" ]; extraConfig = '' - reverse_proxy 127.0.0.1:8440 + root * ${pkgs.personal.gate}/www + file_server ''; }; };