1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2024-05-30 18:45:14 -03:00
parent a738654b78
commit 0766fe8ff2
3 changed files with 6 additions and 4 deletions

View file

@ -123,8 +123,8 @@ http {
# Allow localhost and internal Docker network
allow 127.0.0.1;
# Allow requests from the internal Docker network (e.g., 172.18.0.0/16)
allow 172.18.0.0/16;
# Allow requests from the entire 172.0.0.0/8 range
allow 172.0.0.0/8;
# Deny all other requests
deny all;

View file

@ -246,4 +246,4 @@ networks:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
- subnet: "${NETWORK_SUBNET:-172.21.1.0/24}"

View file

@ -31,4 +31,6 @@ MAIN_LANGUAGE=en
SYSTEM_ADMIN_PASSWORD=password
WEBSITE_TITLE=Your Website Title
TLS_CERTIFICATE_FILE=/etc/apache2/ssl/localhost.crt
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key
NETWORK_SUBNET=172.21.1.0/24