mirror of
git://f0xx.org/ac/ac-ms-url-shortener
synced 2026-07-29 01:19:38 +03:00
deploy: proxy s.f0xx.org to ac_be_backend cluster upstream
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user