Shell/Bash: increase nginx timeout Example

By

Shell/Bash Example: This is the "increase nginx timeout" Example. compiled from many sources on the internet by SimpleTutorials.org

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

nginx unlimited timeout

http {
     fastcgi_read_timeout 300;
     proxy_read_timeout 300;
}



* Summary: This "increase nginx timeout" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others