Following https://easycloudsupport.zendesk.com/hc/en-us/articles/360002057472-How-to-Fix-504-Gateway-Timeout-using-Nginx
partial https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/642