全球主机交流论坛
标题:
lnmp0.4 创建虚拟主机的log文件似乎有问题
[打印本页]
作者:
fabulous
时间:
2010-5-11 14:00
标题:
lnmp0.4 创建虚拟主机的log文件似乎有问题
al="log_format $al_name '\$remote_addr - \$remote_user [\$time_local] "\$request" '
'\$status \$body_bytes_sent "\$http_referer" '
'"\$http_user_agent" \$http_x_forwarded_for';
access_log $al_name.log $al_name;"
复制代码
我改成了
al="log_format $al_name.log '\$remote_addr - \$remote_user [\$time_local] "\$request" '
'\$status \$body_bytes_sent "\$http_referer" '
'"\$http_user_agent" \$http_x_forwarded_for';
access_log $al_name.log"
复制代码
这样才生成了日志。
我对nginx研究还不深,刚刚开始。
如有不正确之处,欢迎指正。
作者:
lemss
时间:
2010-5-11 15:08
好像是有点毛病
作者:
heiheihoho
时间:
2010-5-11 15:45
不懂,学习。。。
欢迎光临 全球主机交流论坛 (https://4414.19990909.workers.dev/)
Powered by Discuz! X3.4