From 7f921fe966b4057375b34f41f13e7f784250a9c3 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Wed, 15 May 2024 15:52:48 -0300 Subject: [PATCH] nginx: redirect git. to .xyz --- 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";