mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
a738654b78
commit
0766fe8ff2
3 changed files with 6 additions and 4 deletions
|
@ -123,8 +123,8 @@ http {
|
||||||
# Allow localhost and internal Docker network
|
# Allow localhost and internal Docker network
|
||||||
allow 127.0.0.1;
|
allow 127.0.0.1;
|
||||||
|
|
||||||
# Allow requests from the internal Docker network (e.g., 172.18.0.0/16)
|
# Allow requests from the entire 172.0.0.0/8 range
|
||||||
allow 172.18.0.0/16;
|
allow 172.0.0.0/8;
|
||||||
|
|
||||||
# Deny all other requests
|
# Deny all other requests
|
||||||
deny all;
|
deny all;
|
||||||
|
|
|
@ -246,4 +246,4 @@ networks:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
ipam:
|
ipam:
|
||||||
config:
|
config:
|
||||||
- subnet: 172.18.0.0/16
|
- subnet: "${NETWORK_SUBNET:-172.21.1.0/24}"
|
||||||
|
|
|
@ -31,4 +31,6 @@ MAIN_LANGUAGE=en
|
||||||
SYSTEM_ADMIN_PASSWORD=password
|
SYSTEM_ADMIN_PASSWORD=password
|
||||||
WEBSITE_TITLE=Your Website Title
|
WEBSITE_TITLE=Your Website Title
|
||||||
TLS_CERTIFICATE_FILE=/etc/apache2/ssl/localhost.crt
|
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
|
Loading…
Add table
Add a link
Reference in a new issue