mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +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 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;
|
||||
|
|
|
@ -246,4 +246,4 @@ networks:
|
|||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.18.0.0/16
|
||||
- subnet: "${NETWORK_SUBNET:-172.21.1.0/24}"
|
||||
|
|
|
@ -32,3 +32,5 @@ 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
|
||||
|
||||
NETWORK_SUBNET=172.21.1.0/24
|
Loading…
Add table
Add a link
Reference in a new issue