add skynet-cache-ratio header to access log
This commit is contained in:
parent
29d4df0be6
commit
87e2a9e3bb
|
@ -50,7 +50,7 @@ http {
|
||||||
'"$upstream_http_content_type" "$upstream_cache_status" '
|
'"$upstream_http_content_type" "$upstream_cache_status" '
|
||||||
'"$server_alias" "$sent_http_skynet_skylink" '
|
'"$server_alias" "$sent_http_skynet_skylink" '
|
||||||
'$upstream_connect_time $upstream_header_time '
|
'$upstream_connect_time $upstream_header_time '
|
||||||
'$request_time "$hns_domain" "$skylink"';
|
'$request_time "$hns_domain" "$skylink" $upstream_http_skynet_cache_ratio';
|
||||||
|
|
||||||
access_log logs/access.log main;
|
access_log logs/access.log main;
|
||||||
|
|
||||||
|
|
Reference in New Issue