From 44c6c38eef5ff56da7ae74aec58e6ff2c2ce5da8 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Thu, 11 Jul 2024 18:59:09 -0700 Subject: [PATCH] added tailscale only nginx rule for nextcloud --- hosts/Alaska/modules/nginx.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/Alaska/modules/nginx.nix b/hosts/Alaska/modules/nginx.nix index 8ce6a36..d9fd621 100644 --- a/hosts/Alaska/modules/nginx.nix +++ b/hosts/Alaska/modules/nginx.nix @@ -56,6 +56,10 @@ "files.nickiel.net" = { forceSSL = true; enableACME = true; + locations."/".extraConfig = '' + allow 100.64.0.0/24; + deny all; + ''; }; "git.nickiel.net" = {