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"; + }; }; };