Use x-real-ip header for the real-ip module
This commit is contained in:
@ -66,7 +66,7 @@ http {
|
||||
# NPM generated CDN ip ranges:
|
||||
include conf.d/include/ip_ranges.conf;
|
||||
# always put the following 2 lines after ip subnets:
|
||||
real_ip_header X-Forwarded-For;
|
||||
real_ip_header X-Real-IP;
|
||||
real_ip_recursive on;
|
||||
|
||||
# Files generated by NPM
|
||||
|
Reference in New Issue
Block a user