Probably can add a few more line to increase the timeout period to upstream. The examples below sets the timeout to 300 seconds :
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
More Related Contents:
- Setup nginx not to crash if host in upstream is not found
- nginx reverse proxy – how to serve multiple apps
- How to serve all existing static files directly with NGINX, but proxy the rest to a backend server.
- How to add a response header on nginx when using proxy_pass?
- nginx – read custom header from upstream server
- Nginx — static file serving confusion with root & alias
- Nginx: Redirect non-www to www https
- Why is nginx responding to any domain name?
- How to edit nginx.conf to increase file size upload
- Possible reason for NGINX 499 error codes
- nginx – client_max_body_size has no effect
- NGINX: upstream timed out (110: Connection timed out) while reading response header from upstream
- uwsgi upstart on amazon linux
- How to set the allowed url length for a nginx request (error code: 414, uri too large)
- Tuning nginx worker_process to obtain 100k hits per min
- Dealing with nginx 400 “The plain HTTP request was sent to HTTPS port” error
- Use nginx to serve static files from subdirectories of a given directory
- Nginx Different Domains on Same IP
- How do you change the server header returned by nginx?
- nginx proxy pass Node, SSL?
- Configure nginx with multiple locations with different root folders on subdomain
- nginx server_name wildcard or catch-all
- “proxy_pass” cannot have URI part in location given by regular expression
- nginx add headers when returning 400 codes
- NGINX try_files + alias directives
- nginx redirect HTTPS to HTTP
- Intercepting backend 301/302 redirects (proxy_pass) and rewriting to another location block possible?
- Jenkins: How to configure Jenkins behind Nginx reverse proxy for JNLP slaves to connect
- How to fix nginx throws 400 bad request headers on any header testing tools?
- Assigning vhosts to Docker ports