Alternative: verify which the DNS options are accurate and the area names Utilized in the NGINX configuration documents are resolving to the correct IP addresses. You might have to switch DNS data or use IP addresses https://woracious.com/seo/ramifications-of-the-504-error-on-seo/