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

0 Members and 1 Guest are viewing this topic.

How setting timeout in Nginx/Apache server
« on: July 07, 2020, 08:01:46 PM »
I've a server with cwp, 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 ?

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
Join our Development Team and get paid !

Installation Instructions
Get Fast Support Here