1
0
mirror of git://f0xx.org/ac/ac-deploy synced 2026-07-29 02:57:38 +03:00

fix(cluster0): Gitea cluster proxy, 2FA seed, hub downloads nginx

Bind Gitea on all interfaces for cast02/03 proxy, fix stale 2FA lab-seed
approve flow, add /v0/downloads/ and GITEA_UPSTREAM_HOST, and guard nginx
configure against empty templates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-07-10 15:36:49 +02:00
parent 970de79a90
commit a14413e886
6 changed files with 78 additions and 16 deletions

View File

@@ -17,7 +17,8 @@ LFS_START_SERVER = true
PROTOCOL = http
DOMAIN = @GITEA_DOMAIN@
ROOT_URL = @GITEA_ROOT_URL@
HTTP_ADDR = 127.0.0.1
# Bind on all interfaces so cast02/cast03 nginx can proxy to cast01:3000.
HTTP_ADDR = 0.0.0.0
HTTP_PORT = @GITEA_HTTP_PORT@
APP_DATA_PATH = @GITEA_APP_DATA@
STATIC_ROOT_PATH = /usr/share/webapps/gitea