diff --git a/hosts/hainich/services/nginx.nix b/hosts/hainich/services/nginx.nix index 4dc2f53..56cf029 100644 --- a/hosts/hainich/services/nginx.nix +++ b/hosts/hainich/services/nginx.nix @@ -17,6 +17,11 @@ default = true; locations."/".return = "404"; }; + "hacc.space" = { + enableACME = true; + forceSSL = true; + locations."/".return = "301 https://hacc.earth"; + }; }; networking.firewall.allowedTCPPorts = [ 1935 ];