nginx: set real IP from any address
This commit is contained in:
parent
b19b256b52
commit
a185b53db4
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# vim: ft=nginx
|
||||
|
||||
set_real_ip_from 10.0.0.0/8;
|
||||
set_real_ip_from 0.0.0.0/0;
|
||||
real_ip_header proxy_protocol;
|
||||
log_format elb_pp '$proxy_protocol_addr - $remote_user [$time_local] '
|
||||
'"$request" $status $body_bytes_sent '
|
||||
|
|
Reference in a new issue