deploy: proxy s.f0xx.org to ac_be_backend cluster upstream

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-24 17:45:12 +02:00
parent f2479b5cca
commit b6adbf6598

View File

@@ -1,9 +1,5 @@
# FE Gentoo — server block for s.f0xx.org (URL shortener)
# File: tmp/FE_gentoo/etc/nginx/nginx.conf OR conf.d/s.f0xx.org.conf
#
# TLS cert (confirmed on FE):
# ssl_certificate /etc/letsencrypt/live/s.f0xx.org/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/s.f0xx.org/privkey.pem;
# Requires upstream ac_be_backend from ac-platform-edge/fe/ac-fe-upstream.conf
server {
listen 80;
@@ -23,9 +19,9 @@ server {
# All paths → BE :80 (PHP-FPM url-shortener vhost)
# All paths → cluster BE :80 (url-shortener vhost; Host: s.f0xx.org)
location / {
proxy_pass http://artc0.intra.raptor.org:80;
proxy_pass http://ac_be_backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;