1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-30 08:51:07 +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

@ -9,6 +9,7 @@ Environment=FLASK_CONFIG=production
Environment=LDAP_URI=ldap://127.0.0.1:389
Environment=LDAP_USER_DN=cn=Utilisateurs,dc=crans,dc=org
Environment=SITE_NAME=Crans Stream
Environment=SITE_HOSTNAME=stream.crans.org
Environment=FAVICON=https://www.crans.org/images/favicon.ico
ExecStart=uwsgi --http-socket 127.0.0.1:8080 --master --plugin python3 --module ghostream:app --static-map /static=/var/local/ghostream/ghostream/static
Restart=always

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/ {