老师,那个nginx的log_format是如何配置的?
log_format main '$remote_addr - $remote_user [$time_local] $scheme "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
老是配不对,教程那些参数
$gzip_ratio 是什么鬼
log_format main '$remote_addr $http_x_forwarded_for $remote_user [$time_local] $scheme "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$gzip_ratio" $upstream_response_time $request_time'
试试