I am trying to increase the value of Timeout in AWS Elasticbeanstalk with Load Balancer, behind nginx. What I did so far is to create a
.ebextensions
folder, and inside a file with these 2 configurations:
files:
"/etc/nginx/conf.d/nginx.custom.conf":
mode: "644"
owner: "root"
group: "root"
content: |
client_header_timeout 1300;
client_body_timeout 1300;
send_timeout 1300;
proxy_connect_timeout 1300;
proxy_read_timeout 1300;
proxy_send_timeout 1300;
container_commands:
01_restart_nginx:
command: "sudo service nginx reload"
And then I tried with this:
option_settings:
- namespace: aws:elbv2:loadbalancer
option_name: IdleTimeout
value: 2000
None of them seem to be working, and haven't found anything else out there in google. Anyone knows how to do this, without having to enter to the server and modify the config file manually? Thanks in advance!