Managed backups return a Gateway timeout error

I’m getting a “504 GATEWAY TIME-OUT nginx/1.15.5” error when trying to create a managed backup.