Register now and start sharing your code snippets.
-->
Awstats LogFormat configuration for nginx LogFormat
Plain Text posted 4 months ago by christian
This is my nginx LogFormat configuration:
1 log_format main '$remote_addr - $remote_user [$time_local] $status ' 2 '"$request" $body_bytes_sent "$http_referer" ' 3 '"$http_user_agent" "http_x_forwarded_for"';
And this is my Awstats LogFormat configuration:
1 LogFormat = "%host - %host_r %time1 %code %methodurl %bytesd %refererquot %uaquot %otherquot"