524 on static page

I cant find the problem nor understand what could cause it.
I run wordpress website with few subdomains. There is only one nginx configuration file (with multiple server_name’s). All pages load but one. One page initially instantly loads but after refresh, after 30 seconds (i timed it) it gives 524.
I decided to create separate nginx configuration file with subdomain using the domain that gives me the problems. In the root directory i put a simple html file (no css, js). If i try to access it, initially it instantly loads but refresh also gives 524.
Why is this happening ? (nignx error logs are emtpy)

A 524 error indicates that Cloudflare made a successful TCP connection to the origin web server, but the origin did not reply with an HTTP response before the connection timed out. Review the suggestions in this Community Tip for troubleshooting ideas. Additionally, please assess your plugins and server performance as they could be slowing down load times.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.