Author Topic: How setting timeout in Nginx/Apache server  (Read 3150 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How setting timeout in Nginx/Apache server
« on: July 07, 2020, 08:01:46 PM »
Hello,
I've a server with cwp 0.9.8.980, php 7.0.33, Apache 2.4.39 and is configurated in nginx->apache->php-cgi
In this server they have a script which call an url and waiting his response, most of the time this response is fast, but sometimes they take more time (more than 10s).

I try to change in file /etc/nginx/nginx.conf many values like :
   client_header_timeout 4m;
   client_body_timeout 4m;
   send_timeout 4m;
   keepalive_timeout 120 120;
   proxy_connect_timeout   900;
   proxy_send_timeout  900;
   proxy_read_timeout  900;

I try also to add in /usr/local/apache/conf/httpd.conf
   TimeOut 3600
   
But nothing seems to change the timeout. Where I can change this waiting for more times ?

Offline
*****
Re: How setting timeout in Nginx/Apache server
« Reply #1 on: July 09, 2020, 09:03:47 AM »
Hi, try to change VirtualHosts instead of the main config.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services