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下方
已邀请:

要回复问题请先登录注册