Browse Source

PHP 503 errors

Checking the apache2 log i saw a lots of timeout errors like
[proxy_fcgi:error] (70007)The timeout specified has expired: AH01075
so timeout setting of the proxy was increased to solve it.

Change-Id: I805fcd0e21259905e4db51283a708c9a54a0557b
Sebastian Marcet 2 years ago
parent
commit
b70762da8b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/vhost.erb

+ 1
- 1
templates/vhost.erb View File

@@ -46,7 +46,7 @@
46 46
   </Directory>
47 47
 
48 48
   <IfModule mod_proxy_fcgi.c>
49
-      ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000<%= @docroot %>/$1 retry=0
49
+      ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000<%= @docroot %>/$1 retry=0 timeout=120
50 50
   </IfModule>
51 51
 
52 52
   <IfModule mod_fastcgi.c>

Loading…
Cancel
Save