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/hosted-http-base.conf

18 lines
440 B
Text
Raw Normal View History

2015-01-13 20:19:42 +00:00
# vim: ft=nginx
server {
2015-01-21 18:43:21 +00:00
listen 80 default_server;
server_name _;
2015-01-20 20:49:54 +00:00
2015-01-20 22:46:06 +00:00
set_real_ip_from 10.0.0.0/8;
2015-01-20 20:49:54 +00:00
real_ip_header proxy_protocol;
log_format elb '$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;
rewrite ^ https://$host$request_uri? permanent;
}