diff --git a/dafoe/services/nginx.nix b/dafoe/services/nginx.nix index 45c2da5..9be086c 100644 --- a/dafoe/services/nginx.nix +++ b/dafoe/services/nginx.nix @@ -8,14 +8,11 @@ recommendedTlsSettings = true; }; - services.nginx.virtualHosts = let tld = "vatthauer.xyz"; in - { - "git.${tld}" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://localhost:3001/"; - }; + services.nginx.virtualHosts."git.vatthauer.xyz" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:3001/"; }; };