nginx: set real IP from any address

This commit is contained in:
Jimmy Zelinskie 2015-01-23 15:13:24 -05:00
parent b19b256b52
commit a185b53db4

View file

@ -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 '