Answers for "increase nginx timeout"

2

increase nginx timeout

step 1:  $sudo nano /etc/nginx/nginx.conf
step 2:  add following config to http section and save it.
http {
   ...
   proxy_read_timeout 300;
   proxy_connect_timeout 300;
   proxy_send_timeout 300; 
   ...
}
step 3:  $sudo service nginx reload
Posted by: Guest on December-04-2020
0

nginx unlimited timeout

http {
     fastcgi_read_timeout 300;
     proxy_read_timeout 300;
}
Posted by: Guest on January-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language