Sergio Slobodrian | ff52e1b | 2017-04-24 12:39:08 -0400 | [diff] [blame] | 1 | log_format upstreamlog |
2 | '$remote_addr - $remote_user [$time_local] ' | ||||
3 | '"$request" $status $bytes_sent ' | ||||
4 | '"$http_referer" "$http_user_agent" ' | ||||
5 | '$upstream_addr $upstream_response_time '; | ||||
6 | |||||
7 | server { | ||||
8 | listen 80; | ||||
9 | server_name _; | ||||
10 | |||||
11 | access_log /var/log/nginx/access.log upstreamlog; | ||||
12 | |||||
13 | include includes/*.conf; | ||||
14 | } | ||||
15 | |||||
16 | include upstreams/*.conf; |