This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/conf/proxy-protocol.conf

9 lines
311 B
Text
Raw Normal View History

2015-01-21 22:11:23 +00:00
# vim: ft=nginx
2015-01-23 20:13:24 +00:00
set_real_ip_from 0.0.0.0/0;
2015-01-21 22:11:23 +00:00
real_ip_header proxy_protocol;
log_format elb_pp '$proxy_protocol_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"';
access_log /var/log/nginx/nginx.access.log elb_pp;