Option: verify that the DNS settings are proper and the domain names Utilized in the NGINX configuration files are resolving to the proper IP addresses. You may have to switch DNS documents or use IP addresses https://woracious.com/seo/ramifications-of-the-504-error-on-seo/