18禁无遮挡无码网站免费,人妻换人妻AA视频,日韩精品无码电影,国产熟睡乱子伦午夜视频
標(biāo)題:
[分享]
分享wdlinux生成nginx日志無法分析原因
[打印本頁]
作者:
hackeroo9
時(shí)間:
2013-5-3 11:15
標(biāo)題:
分享wdlinux生成nginx日志無法分析原因
本帖最后由 hackeroo9 于 2013-5-3 11:17 編輯
Nginx.conf源配置文件中:
log_format wwwlogs '$remote_addr - $remote_user [$time_local] $request $status $body_bytes_sent $http_referer $http_user_agent $http_x_forwarded_for';
復(fù)制代碼
這段代碼生成的格式會造成日志無法分析,格式出錯(cuò),改成以下格式
log_format wwwlogs '$remote_addr - $remote_user [$time_local] "$request"' '$status $body_bytes_sent "$http_referer"' '"$http_user_agent" $http_x_forwarded_for';
復(fù)制代碼
補(bǔ)充一下,這幾日觀察自己改完之后 系統(tǒng)又恢復(fù)原來的配置,煞是奇怪,求解!
作者:
admin
時(shí)間:
2013-5-3 21:19
nginx.conf文件,你沒操作改動(dòng)過,恢復(fù)原來的?
歡迎光臨 WDlinux官方論壇 (http://www.jyhfz2008.com/bbs/)
Powered by Discuz! 7.2