From 9adabbba63d50a6c545e89543400706f6fb2fd2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Sun, 25 Aug 2024 12:47:31 +0200 Subject: [PATCH] feat(teedy): configure nginx & acme for teedy --- acme.nix | 1 + nginx.nix | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/acme.nix b/acme.nix index 307bf77..b5b6828 100644 --- a/acme.nix +++ b/acme.nix @@ -7,6 +7,7 @@ "meta.sourcehut.${base-domain}" "git.sourcehut.${base-domain}" "docspell.${base-domain}" + "teedy.${base-domain}" ]; acceptTerms = true; defaults = { diff --git a/nginx.nix b/nginx.nix index c7cb1a1..f989df9 100644 --- a/nginx.nix +++ b/nginx.nix @@ -26,6 +26,13 @@ proxyPass = "http://localhost:7879"; }; }; + "teedy.${base-domain}" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:7778"; + }; + }; }; }; }