1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
Are "uwsgi_read_timeout" and "uwsgi_send_timeout" related?
https://nginx.org/en/docs/http/ngx_http_uwsgi_module.html#uwsgi_read_timeout
https://nginx.org/en/docs/http/ngx_http_uwsgi_module.html#uwsgi_send_timeout
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 17 days ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Hi Riku,
Thank you for your quick response.
I am not sure what is uwgi. First time hearing it. I am using Flask with python and I am quite new to it. Do I need to set those in my nginx config? If so can you please guide me on how exactly? Do I just append it after proxy_send_timeout?
Thank you for your help
This is middleware for application servers to run Python applications.
Yes, you should just write the settings after "proxy_send_timeout".
HI Riku,
Thank you for your response.
I tried the following:
It didn't work. Am I doing something wrong?
By the way, can you connect to ElasticBeanstalk's EC2 using SSH etc. and check if the settings are configured in "/etc/nginx/conf.d/nginx.custom.conf"? If the settings are not configured, please create the ".conf" file by creating ".platform/nginx/conf.d/" instead of ".ebextensions". https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-linux-extend.html#platforms-linux-extend.example
For example, try creating a file in the ElasticBeanstalk project folder as shown below. ".platform/nginx/conf.d/nginx.custom.conf"