1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-28 11:02:39 +02:00

Fix hostname

This commit is contained in:
Alexandre Iooss
2020-09-14 13:52:13 +02:00
parent 73bf43afc5
commit 4b5c5d282e
8 changed files with 16 additions and 16 deletions

View File

@ -30,7 +30,7 @@ rtmp {
live on;
record off;
push rtmp://127.0.0.1:1915;
on_publish http://127.0.0.1:5000/;
on_publish http://127.0.0.1:8080/app/auth;
}
}
}

View File

@ -49,9 +49,11 @@ server {
access_log /var/log/nginx/ghostream.log;
error_log /var/log/nginx/ghostream_error.log;
# Serve static HTML page with URL rewriting
root /var/www/stream;
try_files $uri $uri/ /index.html;
# Pass HTTP to Flask web server
location / {
proxy_pass http://127.0.0.1:8080;
proxy_redirect off;
}
# Pass WebSocket to OvenMediaEngine for WebRTC signalling
location /app/ {