lighttpd forum lighty > lighttpd access_log %h bug?

Posted by Wenyue Ren
on 14.07.2008 15:34
access_log %h means remote ip
use Nginx listen on 80 as a proxy
lighttpd accept the request from Nginx via lo
%h does not work properly
only logged as 127.0.0.1
but not the real ip
how should i fix it?
Can anyone tell me what component send the remote addr to 
%h(REMOTE_HOST) define in the mod_accesslog.c?