I had a similar problem. For me the trouble was that nginx only logged when the connection was closed. Setting the HTTP request header Connection
to closed
solved the problem for me. This cannot be done for fetch-requests from a browser and thus doesn't solve OP's problem, I just wanted to comment in case might help somebody else.