I have nginx server serving a lot of big files. I can see plenty of connections on the server. As it iw know, file to the accesslog is written after the request is completed.
Is there any way to log request before it is served? The problem is that it takes hours to download large files and I would like to know which files were hit.