Remedy: Confirm that the DNS configurations are correct and the domain names Employed in the NGINX configuration documents are resolving to the correct IP addresses. You might need to switch DNS data or use IP addresses https://woracious.com/seo/ramifications-of-the-504-error-on-seo/