access log missing info

Igor Sysoev is at rambler-co.ru
Thu Jun 26 23:09:16 MSD 2008


On Thu, Jun 26, 2008 at 11:34:53AM -0700, Mark Foster wrote:

> We are running nginx/0.6.24 on FreeBSD 6.2
> 
> The access log is not showing the client IPs as it should. Instead we 
> see something like this:
> - - - [26/Jun/2008:11:32:14 -0700] "GET /schee/s20/ HTTP/1.1" 200 17995 
> "-" "Baiduspider+(+http://help.baidu.jp/system/05.html)"
> - - - [26/Jun/2008:11:32:14 -0700] "GET /rss/user/dansherman HTTP/1.1" 
> 200 298 "
> -" "Mozilla/5.0 (compatible; FriendFeedBot/0.1; 
> +Http://friendfeed.com/about/bot)"
> ...and...
> - - - [26/Jun/2008:11:34:19 -0700] "GET /" 301 185 "-" "-"
> 
> It seems to have gotten worse over time. When it started (weeks ago) 
> only some of the requests were missing first 3 fields (instead showing 
> dashes), now it is every request.

Do you use set_real_ip_from directive ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list