We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e65143d + df5836e commit 9b7a019Copy full SHA for 9b7a019
docker/rootfs/etc/nginx/nginx.conf
@@ -58,11 +58,11 @@ http {
58
}
59
60
# Real IP Determination
61
- # Docker subnet:
62
- set_real_ip_from 172.0.0.0/8;
+
63
# Local subnets:
64
set_real_ip_from 10.0.0.0/8;
65
- set_real_ip_from 192.0.0.0/8;
+ set_real_ip_from 172.16.0.0/12; # Includes Docker subnet
+ set_real_ip_from 192.168.0.0/16;
66
# NPM generated CDN ip ranges:
67
include conf.d/include/ip_ranges.conf;
68
# always put the following 2 lines after ip subnets:
0 commit comments