nginx 反向代理目录 log_fortmat报错
log_format main '$remote_addr - $remote_user [$time_local] "$request" - " $host"'
- '$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
include vhost/*.conf
此时的include 必须要放在log_format下方
- '$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
include vhost/*.conf
此时的include 必须要放在log_format下方
免责声明:本站所有资源均由网络搜集用户投稿而来,若有侵权,违法违规侵权内容请联系本站并提供必要证明,本站将及时删除违法违规内容,谢谢合作!