摘要:1、vi nginx.conf 找到http {}中log_foramt ,定义post 日志格式 有日志demo形式,可根据自己需要配置日志格式。 2、在location php 解析{}中加入记录日志 access_log /opt/log/post.log post_log; 保存。重启即可
阅读全文
posted @ 2016-03-22 11:21
posted @ 2016-03-22 11:21
posted @ 2016-03-07 14:42
posted @ 2016-03-05 12:02
posted @ 2016-03-03 11:33