Former-commit-id: 600bf328dd2d50c395db34378f8a3f1e9d2e7146
Former-commit-id: a078dfee1ab264f407d76facf63f45e7ff86d9f8
1.0
wanggang 4 years ago
parent 7079aa4032
commit 8403e74bd6

@ -23,19 +23,15 @@ stats {
disk sda sdb xvda xvdb;
}
vhost __defaultVhost__ {
tcp_nodelay on
min_latency on;
tcp_nodelay on min_latency on;
play {
gop_cache off;
queue_length 10;
mw_latency 100;
gop_cache off;
queue_length 10;
mw_latency 100;
}
publish {
mr off;
}
transcode live {
enabled off;
ffmpeg ./objs/ffmpeg/bin/ffmpeg;

@ -20,8 +20,15 @@ http {
listen 0.0.0.0:80;
server_name localhost;
location / {
proxy_pass http://host.docker.internal:8011/;
location /platform/ {
proxy_pass http://host.docker.internal:8011/platform/;
}
location ^~ /platform/hub {
proxy_pass http://host.docker.internal:8011/platform/hub;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
error_page 500 502 503 504 /50x.html;

Loading…
Cancel
Save