SSH access for Gitea; stream config nginx

This commit is contained in:
2026-05-15 15:29:52 +02:00
parent ecafb32328
commit 3464e55e0e
+9
View File
@@ -33,6 +33,7 @@ in
networking.firewall.allowedTCPPorts = [
80
443
12222
];
security.acme = {
@@ -47,6 +48,14 @@ in
recommendedOptimisation = true;
recommendedGzipSettings = true;
# Git ssh
streamConfig = ''
server {
listen 12222;
proxy_pass ${upstream}:12222;
}
'';
virtualHosts = {
# controller services (proxied to upstream tailscale node)
"git.cyperpunk.de" = (mkProxy 9000) // {