Forward X-Forwarded-For also for 192.168.0.0/16
This commit is contained in:
parent
2bdbc06801
commit
fb3cf33326
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ http {
|
|||
error_log /var/log/nginx/error.log warn;
|
||||
set_real_ip_from 127.0.0.1;
|
||||
set_real_ip_from ::1;
|
||||
set_real_ip_from 192.168.0.0/16;
|
||||
real_ip_header X-Forwarded-For;
|
||||
real_ip_recursive on;
|
||||
include /etc/nginx/mime.types;
|
||||
|
|
Loading…
Reference in a new issue