2016年3月22日

摘要: 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 studyphp 阅读(1555) 评论(0) 推荐(0)

导航