fix: remove enableACME as that'll never work with this setup, specify a port

This commit is contained in:
Ahwx 2025-04-24 15:53:34 +02:00
parent cbd2f99efb
commit f85065bfbc

View file

@ -9,7 +9,6 @@ in
services = { services = {
nginx.virtualHosts.${domain} = { nginx.virtualHosts.${domain} = {
forceSSL = true; forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://127.0.0.1:${toString config.services.plausible.server.port}"; locations."/".proxyPass = "http://127.0.0.1:${toString config.services.plausible.server.port}";
}; };
@ -29,6 +28,7 @@ in
server = { server = {
baseUrl = "https://${domain}"; baseUrl = "https://${domain}";
secretKeybaseFile = "/home/liv/secrets/plausibleKeybaseFile"; secretKeybaseFile = "/home/liv/secrets/plausibleKeybaseFile";
port = 5829;
}; };
}; };
}; };