Webalizer + nginx
gloomen
nginx-forum at nginx.us
Mon May 3 21:04:25 MSD 2010
[QUOTE=mitsumoto;80948]Hello All!
Help me please.
Which format should be used to log in nginx Webalizer?
I get inflated statistics
[code]
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
[/code]
[code]
#virtual host
server {
listen 80;
server_name example.ru;
access_log /var/log/nginx.access_log main;
charset windows-1251;
client_max_body_size 4m;
location / {
root /usr/local/www/example.ru;
index index.html index.php;
}
}
[/code]
Thanks[/QUOTE]
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,82125,82125#msg-82125
More information about the nginx
mailing list