Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Set up Nginx RTMP—a streaming media server—on a Rocky Linux VPS—install Nginx add RTMP module:
dnf install nginx nginx-module-rtmp -y
configure /etc/nginx/nginx conf:
rtmp { server { listen 1935; application live { live on; } } }
Reload with
nginx -s reload
open port:
firewall-cmd --add-port=1935/tcp
On DigitalOcean test with
ffmpeg -re -i test.mp4 -f flv rtmp://ip/live
Ensures uptime—streams alongside phpMyAdmin in VPS hosting

Back to All Tips