June 27–28, 2026
Nginx Not Listening on Port 443 — SSL From Zero
A customer reached out with a VPS running Nginx and a goal: build a WebTV and live streaming platform using Lovable.dev as the frontend. The immediate blocker was a 403 Forbidden error—the frontend could not reach the VPS backend.
Engineer Alina identified the root cause: Nginx was not configured to listen on port 443, and no SSL certificate existed.
“The nginx web server is not listening on port 443 (HTTPS). This is why external connections to port 443 are failing—the service itself is not bound to that port, rather than being blocked by the firewall.”
Alina, Support Department · June 27, 2026
After the customer pointed DNS to the VPS IP, engineer Robert issued a free Let's Encrypt certificate, configured port 443, and set HTTP→HTTPS redirect on port 80. curl -I https://<SUBDOMAIN>.<DOMAIN>/ returned 200 OK.
June 29, 2026
Nginx RTMP for OBS Live Streaming on VPS
Engineer Hiker installed libnginx-mod-rtmp and rewrote /etc/nginx/nginx.conf for RTMP ingestion, HLS/DASH under /var/www/nginx-rtmp/, HTTPS with CORS, WebSocket upgrade, and the /stat endpoint.
OBS settings that worked: Server rtmp://<VPS_IP>/live, Stream Key <STREAM_KEY>. No trailing slash after /live—OBS is strict about URL formatting.
Hiker · June 29, 2026
First OBS connection succeeded; playback returned 404 until Hiker fixed nested HLS folder output. Correct path: https://<SUBDOMAIN>.<DOMAIN>/hls/<STREAM_KEY>.m3u8.
rtmp {
server {
listen 1935;
application live {
live on;
hls on;
hls_path /var/www/nginx-rtmp/hls;
hls_fragment 2s;
dash on;
dash_path /var/www/nginx-rtmp/dash;
}
}
}
June 29–30, 2026
/stat Showed 0 Publishers — Multi-Worker Nginx RTMP Bug
The dashboard showed 0 publishers while OBS was streaming. OBS connected to worker A; /stat was answered by worker B with no stream state.
“Your OBS was successfully pushing the stream to 'Core A', but your Lovable app's /stat request was being answered by 'Core B', which honestly reported it had 0 active streams.”
Hiker · June 30, 2026
Fix: worker_processes 1; in nginx.conf, then reload Nginx. Hiker also created /media/ with autoindex_format json; for the upcoming AutoDJ library.
June 30, 2026
WebDAV PUT for Drag-and-Drop Uploads
The Lovable frontend needed HTTP PUT on /media. Engineer Queta enabled WebDAV with client_max_body_size 5G and verified with curl -X PUT.
client_max_body_size 5G;
dav_methods PUT DELETE MKCOL;
create_full_put_path on;
dav_access user:rw group:rw all:r;
July 1–3, 2026
Node.js AutoDJ — 24/7 Streaming Without OBS
Cloudflare Workers cannot run FFmpeg. Hiker and Bruce deployed /opt/autodj-control/ as autodj-control.service, proxied at location /autodj/ { proxy_pass http://127.0.0.1:8787/; }. Robert installed ffmpeg v6.1.1 when the worker stalled after an app update.
“I can confirm that the AutoDJ is now functioning successfully! Live-RTMP is also functioning successfully.”
Customer · July 3, 2026
Resolved AutoDJ live No reset