From 523e8ea4d23dc57e40283184ef56b7062923c1eb Mon Sep 17 00:00:00 2001 From: Leon Vatthauer Date: Mon, 17 Jun 2024 17:32:21 +0200 Subject: [PATCH] Revert This reverts commit c1a4c0b7bd9de45d9be8779d941c6453998d4607. --- dafoe/services/nginx.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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/"; }; };