syslog patch and 0.7.x
Marlon de Boer
marlon at hyves.nl
Fri Sep 4 22:52:57 MSD 2009
Joe Williams wrote:
> I am getting:
>
> "[emerg]: unknown log format "main" in /opt/nginx/conf/nginx.conf"
>
> Any ideas? Something wrong with my install/build?
>
I use this config in my nginx.conf:
log_format main '$host $remote_addr $http_x_forwarded_for - $remote_user
[$time_local] $request_time ' '"$request" $status $bytes_sent ';
If you anymore questions perhaps it's best to ask them outside this list
without bothering other people, I'll be glad to help you.
Regards
Marlon
More information about the nginx
mailing list