diff --git a/modules/hosts/nixos/hetznix01/post-install/nginx.nix b/modules/hosts/nixos/hetznix01/post-install/nginx.nix index ee34024..40083e9 100644 --- a/modules/hosts/nixos/hetznix01/post-install/nginx.nix +++ b/modules/hosts/nixos/hetznix01/post-install/nginx.nix @@ -99,6 +99,14 @@ in { proxyWebsockets = true; }; }; + "location.${domain}" = { + enableACME = true; + acmeRoot = null; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:3003"; + }; + }; "matrix.${domain}" = { listen = [ { port = http_port; addr = "0.0.0.0"; }