On Tue, Aug 27, 2013 at 03:32:29PM +0400, Maxim Dounin wrote: > : - the user whose credentials are used by worker processes should have > : permissions to create files in a directory with such logs;
/var/log/nginx has +x on http user, so that's fine. > : - buffered writes do not work; Not sure what that means. > : - the file is opened and closed for each log write. However, since the > : descriptors of frequently used files can be stored in a cache, writing to > the > : old file can continue during the time specified by the open_log_file_cache > : directive’s valid parameter IIUC there can be delay. No problem. > : - during each log write the existence of the request’s root directory is > : checked, and if it does not exist the log is not created. It is thus a good > : idea to specify both root and access_log on the same level: The root is served fine... I don't understand how I fix my problem. Or are you saying there isn't a way to fix it? _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
