Ignore local subnets for real IP determination
This commit is contained in:
parent
d68656559c
commit
5d65166777
1 changed files with 6 additions and 3 deletions
|
@ -60,6 +60,9 @@ http {
|
|||
# Real IP Determination
|
||||
# Docker subnet:
|
||||
set_real_ip_from 172.0.0.0/8;
|
||||
# Local subnets:
|
||||
set_real_ip_from 10.0.0.0/8;
|
||||
set_real_ip_from 192.0.0.0/8;
|
||||
# NPM generated CDN ip ranges:
|
||||
include conf.d/include/ip_ranges.conf;
|
||||
# always put the following 2 lines after ip subnets:
|
||||
|
|
Loading…
Reference in a new issue