nginx logfile definition

Igor Sysoev is at rambler-co.ru
Mon Aug 31 18:02:52 MSD 2009


On Mon, Aug 31, 2009 at 03:53:52PM +0200, Juergen Gotteswinter wrote:

> i am looking for a possibility to get nginx logging the "HTTP request 
> host name", unfortunly i couldnt find anything in the english docs :(

    log_format  host '"$request" $host';

    access_log  /path/to/host.log  host;


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





More information about the nginx mailing list