Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed May 30, 2024
1 parent a738654 commit 0766fe8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,4 @@ networks:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
- subnet: "${NETWORK_SUBNET:-172.21.1.0/24}"
4 changes: 3 additions & 1 deletion env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0766fe8

Please sign in to comment.