From e98fd99d2b6b23f82038cb5009224849383690ae Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Tue, 20 May 2025 22:15:19 -0400 Subject: [PATCH] Configure Nginx for Dawarich --- modules/hosts/nixos/hetznix01/post-install/nginx.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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"; }