Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: pkt06 on July 07, 2020, 08:01:46 PM

Title: How setting timeout in Nginx/Apache server
Post by: pkt06 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 ?
Title: Re: How setting timeout in Nginx/Apache server
Post by: Igor S. on July 09, 2020, 09:03:47 AM
Hi, try to change VirtualHosts instead of the main config.