From f85065bfbc042398977bbd5fef143d8d7276185c Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 24 Apr 2025 15:53:34 +0200 Subject: [PATCH] fix: remove `enableACME` as that'll never work with this setup, specify a port --- modules/services/plausible.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/plausible.nix b/modules/services/plausible.nix index 070608f..0ae3d3b 100644 --- a/modules/services/plausible.nix +++ b/modules/services/plausible.nix @@ -9,7 +9,6 @@ in services = { nginx.virtualHosts.${domain} = { forceSSL = true; - enableACME = true; locations."/".proxyPass = "http://127.0.0.1:${toString config.services.plausible.server.port}"; }; @@ -29,6 +28,7 @@ in server = { baseUrl = "https://${domain}"; secretKeybaseFile = "/home/liv/secrets/plausibleKeybaseFile"; + port = 5829; }; }; };