时间:2021-07-01 10:21:17 帮助过:2人阅读
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; log_format gzip '$remote_addr - $remote_user [$time_local] "$request" ' '$status $bytes_sent "$http_referer" ' '"$http_user_agent" "$gzip_ratio"'; log_format download '$remote_addr - $remote_user [$time_local] "$request" ' '$status $bytes_sent "$http_referer" "$http_user_agent" ' '"$http_range" "$sent_http_content_range"'; #access_log logs/access.log main; access_log off;
以上就介绍了nginx access_log 完全关闭,包括了access,nginx方面的内容,希望对PHP教程有兴趣的朋友有所帮助。