Hi @rlcdo
Then there must be another reverse-proxy/load-balancer/WAF/CDN/etc cutting off the connection.
Have a look at this thread: How to increase query timeout - Your question took too long
Check your Nginx logs. Check the request headers in your browser developer Network-tab.