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>
21 lines
744 B
Plaintext
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;
|
|
}
|