nomadro/deploy/social/live/nginx-live.conf
Eric 92bbee3c6c Ship native social weapp: immersive hall chat, SRS live, join pay.
Wire Taro social pages to social_svc (Centrifugo + live RTMP), drop multi-channel chat chrome, and add weapp WXSS sanitize/deploy helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 12:33:35 +08:00

21 lines
744 B
Plaintext

# Baota: /www/server/panel/vhost/nginx/extension/www.nomadro.cn/live-flv.conf
# RTMP push stays on :1935 (SRS). ^~ beats Next.js catch-all.
location ^~ /live/ {
proxy_pass http://127.0.0.1:1985/live/;
proxy_http_version 1.1;
proxy_set_header Connection "";
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;
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
chunked_transfer_encoding on;
add_header Access-Control-Allow-Origin * always;
add_header Cache-Control no-cache always;
add_header X-Nomadro-Live srs always;
}