tadpole: Extract cert for gitea
This commit is contained in:
@@ -7,6 +7,12 @@
|
||||
email = "p@ppp.pm";
|
||||
group = "nginx";
|
||||
};
|
||||
|
||||
"git.ppp.pm" = {
|
||||
webroot = "/var/lib/acme/acme-challenge/";
|
||||
email = "p@ppp.pm";
|
||||
group = "nginx";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ in
|
||||
services.nginx = {
|
||||
virtualHosts."${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
useACMEHost = domain;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://0.0.0:3000";
|
||||
|
||||
Reference in New Issue
Block a user