日志部分配置文件如下
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
在访问日志中,不显示完整的来源 url,请问怎么令其显示完整的来源 url 或者域名。
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
在访问日志中,不显示完整的来源 url,请问怎么令其显示完整的来源 url 或者域名。