step-ca config

This commit is contained in:
2026-06-24 00:15:03 +03:00
parent c77915d0d1
commit ba7b36f16e
6 changed files with 94 additions and 3 deletions
+32
View File
@@ -73,6 +73,28 @@ in
client_max_body_size 5G;
'';
};
"gitea.zeroq.su" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://${server}:3000";
proxyWebsockets = true;
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"ca.zeroq.su" = {
forceSSL = false;
enableACME = false;
locations."/" = {
proxyPass = "http://${server}:9000";
proxyWebsockets = true;
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"gitea.local" = {
forceSSL = false;
enableACME = false;
@@ -191,4 +213,14 @@ in
};
};
};
security = {
acme = {
acceptTerms = true;
defaults = {
email = "oqyude@zeroq.su";
server = "https://localhost:9000/acme/acme/directory";
dnsProvider = null;
};
};
};
}