I am trying to change the timeout for Gunicorn on a Python 3.7 Amazon Linux 2 (Version 3.1) Elastic Beanstalk deploy. My Procfile looks like:
web: gunicorn --bind :8000 --workers 3 --threads 2 --timeout 300 application.application:application
But I still seem to be getting the default 30 second timeout.
My nginx config in .ebextensions looks like:
files:
"/etc/nginx/conf.d/timeout.conf" :
mode: "000644"
owner: root
group: root
content: |
keepalive_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
fastcgi_send_timeout 600;
fastcgi_read_timeout 600;
Any help would be appreciated.