From f8e48e7fa0d6dc68283665842e34c0010c101792 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Wed, 15 May 2024 15:52:48 -0300 Subject: [PATCH] nginx: redirect git. to .com --- hosts/phantom/nginx.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/phantom/nginx.nix b/hosts/phantom/nginx.nix index f0aea0e..f1fff66 100644 --- a/hosts/phantom/nginx.nix +++ b/hosts/phantom/nginx.nix @@ -11,7 +11,7 @@ services.nginx.virtualHosts = lib.mapAttrs' (key: value: lib.nameValuePair "${key}lelgenio.xyz" value) ( - lib.genAttrs [ "" "social." "blog." "cloud." "mail." ] (name: { + lib.genAttrs [ "" "social." "blog." "cloud." "mail." "git." ] (name: { enableACME = true; forceSSL = true; locations."/".return = "301 $scheme://${name}lelgenio.com$request_uri";