mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-24 23:09:34 -05:00
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:
parent
ffecc6ee8b
commit
712c6f64b5
7
root/defaults/nginx/internal.conf
Normal file
7
root/defaults/nginx/internal.conf
Normal 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;
|
Loading…
Reference in New Issue
Block a user