fix(nginx): envs not passed into nginx
This commit is contained in:
@@ -21,6 +21,11 @@ rtmp {
|
||||
hls_fragment_naming system;
|
||||
hls_fragment 3;
|
||||
hls_playlist_length 28800;
|
||||
|
||||
on_publish ${WEB_SERVER_URL}/api/v1/stream/start;
|
||||
on_publish_done ${WEB_SERVER_URL}/api/v1/stream/stop;
|
||||
on_update ${WEB_SERVER_URL}/api/v1/stream/heartbeat;
|
||||
notify_update_timeout 30s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user