Create internal.conf

Add a single conf file that can be used in proxy-confs via "include /config/nginx/internal.conf" for a single point of management for allowed IPs.
This commit is contained in:
hellblazer315 2024-11-11 08:58:38 -05:00 committed by GitHub
parent ffecc6ee8b
commit 712c6f64b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,7 @@
# List of private IP addresses to ensure all traffic is local.
## Remove or comment any out to be even more restrictive.
allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
allow 100.64.0.0/16; # Tailcale's default IP range
deny all;