From a500c0562c102e53a8c4173aaf9d8dd412274d6b Mon Sep 17 00:00:00 2001 From: Sokhibjon Orzikulov Date: Thu, 19 Sep 2024 18:21:02 +0500 Subject: [PATCH] apply gate for others as well --- modules/server/caddy/kolyma-2.nix | 3 ++- modules/server/caddy/kolyma-3.nix | 3 ++- modules/server/caddy/kolyma-4.nix | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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 ''; }; };