From 4e0f91bb81103e165c2cf01f7fe0b1c85de07b88 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Mon, 16 Mar 2026 03:04:47 +0000 Subject: [PATCH] Adding rockwall.farm site. hiding .git --- hosts/soleo/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/soleo/configuration.nix b/hosts/soleo/configuration.nix index 4ccf032..23178cf 100644 --- a/hosts/soleo/configuration.nix +++ b/hosts/soleo/configuration.nix @@ -36,6 +36,11 @@ enableACME = true; serverAliases = [ "www.dustinswan.com" ]; root = "/var/www/dustinswan.com"; + extraConfig = '' + location ~ /\.git { + deny all; + } + ''; }; "git.dustinswan.com" = { forceSSL = true; @@ -44,6 +49,12 @@ proxyPass = "http://localhost:3000"; }; }; + "rockwall.farm" = { + forceSSL = true; + enableACME = true; + serverAliases = [ "www.rockwall.farm" ]; + root = "/var/www/rockwall.farm"; + }; }; };