天天看点

nginx访问日志,日志切割,静态文件不记录日志和过期时间

nginx访问日志

日志格式

vim /usr/local/nginx/conf/nginx.conf //搜索log_format

日志切割

静态文件不记录日志并添加过期时间

继续阅读