Hello there. I'm using freenginx under FreeBSD, as a reverse proxy with SSL/TLS termination, for my owncast streaming (HLS / m3u8) server (also on the same server running on 127.0.0.1:8080).
The stream will be 7/24 live, and there will (might?) be thousands of different TV models watching it. So my SSL/443 configuration is like; server { server_name mystream.mysite.com; .... location / { proxy_set_header Host $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_pass http://127.0.0.1:8080; } } I'd like to ask; 1- As "proxy_buffering" is on by default in freenginx, should I turn it off? 2- Does "proxy_ignore_client_abort" matter in my case? If so, should it be on or off? 3- How about "tcp_nopush", "tcp_nodelay" and "sendfile" directives? 4- I see some sample configurations having; add_header Cache-Control no-cache; AND add_header Access-Control-Allow-Origin *; Do I really need both? These were my questions I wondered and wanted to learn before I move the whole setup to production. Many thanks, Best. Mark
-- nginx mailing list nginx@freenginx.org https://freenginx.org/mailman/listinfo/nginx