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

fe: acl0 lab vhost, cluster upstream, INSTALL smoke checklist

Add ac-fe.conf and ac-fe.fragment for Gentoo FE proxy to cast cluster;
upstream uses cast01 primary with cast02/03 backup; document PO install steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-23 17:07:35 +02:00
parent 533c297228
commit 3836763f13
4 changed files with 217 additions and 1 deletions

27
fe/ac-fe.fragment Normal file
View File

@@ -0,0 +1,27 @@
# Paste into the listen 443 server {} for apps.f0xx.org (or lab acl0 vhost in ac-fe.conf).
# Requires upstream ac_be_backend in http {} — defined at top of ac-fe.conf.
#
# When enabling on prod: comment out the old blocks in /etc/nginx/apps.conf for
# /app/androidcast_project/crashes and /crashes/ (keep graphs/build/hub as-is until cutover).
# --- Issues / ticket console (SPEC: /issues/ is canonical) ---
location = /app/androidcast_project/issues {
return 301 $scheme://$host/app/androidcast_project/issues/;
}
location ^~ /app/androidcast_project/issues/ {
proxy_pass http://ac_be_backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 16m;
}
# --- Legacy /crashes/ → /issues/ (SPEC §7) ---
location = /app/androidcast_project/crashes {
return 301 $scheme://$host/app/androidcast_project/issues/;
}
location ^~ /app/androidcast_project/crashes/ {
rewrite ^/app/androidcast_project/crashes/?(.*)$ $scheme://$host/app/androidcast_project/issues/$1 permanent;
}