1.0 KiB
1.0 KiB
Nginx Deployment Notes
These configs match the current project domains:
- App:
https://nyone.net - HLS playback:
https://nyone-hls.net - OBS ingest:
rtmp://nyone.net:1935
MediaMTX stays private on local ports:
- RTMP ingest:
127.0.0.1:1935 - HLS:
127.0.0.1:1988
Install layout on Ubuntu/Debian:
sudo cp deploy/nginx/nyone-app.conf /etc/nginx/sites-available/nyone-app.conf
sudo cp deploy/nginx/nyone-hls.conf /etc/nginx/sites-available/nyone-hls.conf
sudo ln -s /etc/nginx/sites-available/nyone-app.conf /etc/nginx/sites-enabled/nyone-app.conf
sudo ln -s /etc/nginx/sites-available/nyone-hls.conf /etc/nginx/sites-enabled/nyone-hls.conf
Check and reload:
sudo nginx -t
sudo systemctl reload nginx
Make sure DNS points all three hostnames to the server:
nyone.netnyone-hls.net
The Laravel .env should use:
APP_URL=https://nyone.net
STREAMING_RTMP_INGEST_URL=rtmp://nyone.net:1935
STREAMING_HLS_PUBLIC_URL=https://nyone-hls.net
MEDIAMTX_SHARED_SECRET=change-this-secret