Hello!

On Mon, Oct 13, 2014 at 03:23:09PM +1100, [email protected] wrote:

> is it possible to enable selective dir logging from the document root ?
> 
> i don't want to log access to a specific dir in doc root (and not sub
> dirs also)
> 
> i do want to log errors to a specific dir in doc root (and sub dirs also)
> 
> purpose:
> 
> disable dir logging for roundcube dir but still enable error logs

You can use access_log and error_log directives on a per-location 
basis.  See here for details:

http://nginx.org/r/location
http://nginx.org/r/access_log
http://nginx.org/r/error_log

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to