1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-02 23:05:46 +00:00

test: Add test cases for NETWORK_ACCESS=internal

This commit is contained in:
Alexander Lieret
2021-08-30 12:19:10 +02:00
committed by Nicolas Duchon
parent 28c74e8dae
commit 2509fc1076
5 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# Only allow traffic from internal clients
allow 127.0.0.0/8;
allow 10.0.0.0/8;
allow 192.168.0.0/16;
allow 172.16.0.0/12;
allow fc00::/7; # IPv6 local address range
deny all;
# Dummy header for testing
add_header X-network internal;