tadpole: Extract cert for gitea

This commit is contained in:
Alexander Heldt
2024-08-30 20:49:30 +02:00
parent 4567ba0614
commit 0d5b7fe3f5
2 changed files with 7 additions and 1 deletions

View File

@@ -7,6 +7,12 @@
email = "p@ppp.pm"; email = "p@ppp.pm";
group = "nginx"; group = "nginx";
}; };
"git.ppp.pm" = {
webroot = "/var/lib/acme/acme-challenge/";
email = "p@ppp.pm";
group = "nginx";
};
}; };
}; };
} }

View File

@@ -48,7 +48,7 @@ in
services.nginx = { services.nginx = {
virtualHosts."${domain}" = { virtualHosts."${domain}" = {
forceSSL = true; forceSSL = true;
enableACME = true; useACMEHost = domain;
locations."/" = { locations."/" = {
proxyPass = "http://0.0.0:3000"; proxyPass = "http://0.0.0:3000";