mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Encoder now log information, improve socket
This commit is contained in:
parent
372b2e1283
commit
2c4e22b99d
16 changed files with 319 additions and 82 deletions
|
@ -120,9 +120,20 @@ http {
|
|||
root html;
|
||||
}
|
||||
location /control {
|
||||
# replace this with the IP of your AVideo site
|
||||
# Allow localhost and internal Docker network
|
||||
allow 127.0.0.1;
|
||||
allow localhost;
|
||||
|
||||
# Allow requests from the 'live' service
|
||||
allow live;
|
||||
|
||||
# Allow requests from the internal Docker network (e.g., 172.18.0.0/16)
|
||||
allow 172.18.0.0/16;
|
||||
|
||||
# Deny all other requests
|
||||
deny all;
|
||||
|
||||
# RTMP control settings
|
||||
rtmp_control all;
|
||||
}
|
||||
#allows us to host some webpages which can show our videos: "http://my-ip/my-page.html"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue