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

cluster: nginx vhost for s.f0xx.org on cast01; drop artc0 comment

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyev
2026-06-24 17:49:36 +02:00
committed by Anton Afanasyeu
parent 70b886aecb
commit 2f544de974
2 changed files with 26 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
# Full androidcast vhost for Alpine BE — listen 80 only.
# FE (apps.f0xx.org) proxies here: proxy_pass http://artc0.intra.raptor.org:80;
# FE (apps.f0xx.org / s.f0xx.org) proxies here: cast0103 cluster :80
# Port 8089 is a different service (e.g. Janus) — not this vhost.
server {

View File

@@ -0,0 +1,25 @@
# BE cluster — url-shortener vhost (Host: s.f0xx.org from FE)
# Install: include from /etc/nginx/http.d/androidcast.conf or http.d/url-shortener.conf
# Docroot: URL_SHORTENER_ROOT/public (default /var/www/url-shortener/public)
server {
listen 80;
server_name s.f0xx.org;
root /var/www/url-shortener/public;
index index.php;
location ^~ /api/ {
try_files $uri /index.php?$query_string;
}
location ~ "^/[a-f0-9]{6,16}$" {
try_files $uri /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
}
}