没有0.site_total_map.conf文件
只有0.site_total_log_format.conf,配置如下
- <IfModule !logio_module>
- LoadModule logio_module modules/mod_logio.so
- </IfModule>
- LogFormat '{\
- "server_addr": "%A",\
- "server_port": %{local}p,\
- "host": "%{Host}i",\
- "x_forwarded_for": "%{X-Forwarded-For}i",\
- "x-real-ip": "%{X-Real-IP}i",\
- "x-forwarded": "%{X-Forwarded}i",\
- "forwarded-for": "%{Forwarded-For}i",\
- "forwarded": "%{Forwarded}i",\
- "true-client-ip": "%{True-Client-IP}i",\
- "client-ip": "%{Client-IP}i",\
- "ali-cdn-real-ip": "%{Ali-CDN-Real-IP}i",\
- "cdn-src-ip": "%{CDN-Src-Ip}i",\
- "cdn-real-ip": "%{CDN-Real-Ip}i",\
- "cf-connecting-ip": "%{CF-Connecting-IP}i",\
- "x-cluster-client-ip": "%{X-Cluster-Client-IP}i",\
- "wl-proxy-client-ip": "%{WL-Proxy-Client-IP}i",\
- "proxy-client-ip": "%{Proxy-Client-IP}i",\
- "remote_addr": "%a",\
- "remote_port": %{remote}p,\
- "remote_user": "%u",\
- "https": "%{HTTPS}x",\
- "req_length": %I,\
- "method": "%m",\
- "request": "%r",\
- "request_filename": "%f",\
- "status": %s,\
- "sent_bytes": %O,\
- "body_bytes_sent": %b,\
- "user_agent": "%{User-Agent}i",\
- "content_type": "%{Content-Type}o",\
- "cookie": "%{Cookie}i"\
- }' site_total
复制代码
|