From 0397a4e166984d84bf38911e43d1deb17ea736c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Thu, 16 May 2024 11:19:02 -0300 Subject: [PATCH] nginx: redirect syncthing. 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 f1fff66..8692134 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." "git." ] (name: { + lib.genAttrs [ "" "social." "blog." "cloud." "mail." "git." "syncthing." ] (name: { enableACME = true; forceSSL = true; locations."/".return = "301 $scheme://${name}lelgenio.com$request_uri";