1
0
mirror of git://f0xx.org/ac/ac-platform-edge synced 2026-07-29 02:59:14 +03:00

fe: cluster upstream for apps.f0xx.org; deprecate artc0 proxy

Add ac-fe-upstream.conf and apps.conf using ac_be_backend (cast01–03).
ac-fe.conf drops inline upstream; s.f0xx.org snippet uses cluster via separate commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-24 17:45:12 +02:00
parent 93f4afcda9
commit be877cbf1a
3 changed files with 132 additions and 12 deletions

View File

@@ -1,20 +1,13 @@
# Android Cast FE — lab cluster + optional prod upstream switch.
# Android Cast FE — staging cluster (cast0103). No artc0 upstream.
# Target install on Gentoo FE (monstro): /etc/nginx/ac-fe.conf
# Enable: add to /etc/nginx/nginx.conf (http {}), after apps.conf:
# Enable in /etc/nginx/nginx.conf (http {}):
# include /etc/nginx/ac-fe-upstream.conf;
# include /etc/nginx/apps.conf;
# include /etc/nginx/ac-fe.conf;
#
# Reload: nginx -t && rc-service nginx reload
#
# Upstream: lab = cast01 cluster nginx :80; prod = artc0 BE :80.
# Edit ac_be_backend below before reload when cutting prod apps.f0xx.org to /issues/.
upstream ac_be_backend {
server cast01.intra.raptor.org:80;
server cast02.intra.raptor.org:80 backup;
server cast03.intra.raptor.org:80 backup;
# server artc0.intra.raptor.org:80; # prod cutover — uncomment and comment lab lines
keepalive 8;
}
# upstream ac_be_backend — see ac-fe-upstream.conf (shared with apps.f0xx.org)
# --- Lab public names (DNS → monstro FE → cluster BE) ---
# cluster.env: acl0.f0xx.org, c1c3.acl0.f0xx.org