nginx: redirect syncthing. to .com

This commit is contained in:
Leonardo Eugênio 2024-05-16 11:19:02 -03:00
parent f8e48e7fa0
commit 0397a4e166

View file

@ -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";