tadpole: Extract cert for gitea
This commit is contained in:
1 parent
4567ba0614
commit
0d5b7fe3f5
2 files changed
+7
-1
No files matched your search
@@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -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";
|
||||||
|
|||||||
Reference in new issue
Block a user