|
|
@ -1,5 +1,12 @@ |
|
|
|
vhost_traffic_status_zone; |
|
|
|
vhost_traffic_status_zone; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log_format cache_log '$server_name $upstream_cache_status - ' |
|
|
|
|
|
|
|
'$remote_addr [$time_local] ' |
|
|
|
|
|
|
|
'"$request" $status $body_bytes_sent ' |
|
|
|
|
|
|
|
'"$http_referer" "$http_user_agent" ' |
|
|
|
|
|
|
|
'$upstream_response_time $request_time'; |
|
|
|
|
|
|
|
access_log /var/log/nginx/access.log cache_log; |
|
|
|
|
|
|
|
|
|
|
|
server { |
|
|
|
server { |
|
|
|
listen 80 default_server; |
|
|
|
listen 80 default_server; |
|
|
|
|
|
|
|
|
|
|
|