Problems with custom log file format

lists at lazygranch.com lists at lazygranch.com
Tue Aug 23 18:55:42 UTC 2016


Link goes to conf file
https://www.dropbox.com/s/1gz5139s4q3b7e0/nginx.conf?dl=0


On Tue, 23 Aug 2016 20:51:55 +0300
"Reinis Rozitis" <r at roze.lv> wrote:

> > Configuration file included in the post. I already checked it.
> 
> You have shown only few excerpts (like there might be other
> access_log directives in other parts included config files (easily
> missed when doing include path/*.conf) etc).
> 
> For example if you can reproduce the issue with such config (I
> couldn't) there might be a bug in the software:
> 
> events {}
> http {
>     log_format main '$status $remote_addr - $remote_user
> [$time_local] "$request" ' '$body_bytes_sent "$http_referer" '
> '"$http_user_agent" "$http_x_forwarded_for"';
>     access_log  logs/access.log main;
>     server {}
> }
> 
> rr 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list