feat?: +gitea

This commit is contained in:
2026-05-29 18:29:47 +03:00
parent f4ec839241
commit fe8ff3d895

View File

@@ -255,6 +255,7 @@ in {
80
443
3306 # mysql
11012 # gitea ssh
25565
55228 # ss-bfs
];
@@ -318,6 +319,24 @@ in {
'';
};
};
virtualHosts."gitea.${domain}" = sslOpts // {
forceSSL = true;
locations."/" = {
extraConfig = ''
proxy_pass http://127.0.0.1:11011/;
proxy_redirect off;
'';
};
};
};
services.gitea = {
enable = true;
settings.server = {
HTTP_PORT = 11011;
SSH_PORT = 11012;
};
database.type = "postgres";
};
# === WireGuard (disabled) ===