1
0
Fork 0
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:
Daniel Neto 2024-05-23 09:21:02 -03:00
parent 372b2e1283
commit 2c4e22b99d
16 changed files with 319 additions and 82 deletions

View file

@ -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"