We've been testing Elastic Beanstalk against a misbehaving web app (that we, alas, have no control over). Sometimes it takes longer than 60 seconds before sending the first bytes of a response, but at the 60 second mark the app sends a 504: Gateway Timeout message from nginx.
We need to set that 60 seconds to something higher. We tried adding these settings to a file that we send to "aws eb create-environment..."
{ "Namespace": "aws:elb:policies:myPolicy",
"OptionName": "ConnectionSettingIdleTimeout", "Value": "300" }
But they don't seem to affect the 60 second timeout. What are we doing wrong?