New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

where is varnish configuration file?

Started by alebal, July 06, 2016, 01:39:29 AM

Previous topic - Next topic

alebal

Hello to all.
I have a file, a cronjob heavy enough.
Varnish gives me a 503 error.

I found an online solution
---------------------------------------------
varnish 503 can be fixed by steps below:

Increase the connect_timeout, .first_byte_timeout and .between_bytes_timeout you in setting backend:
backend default {
   .host = "www.xxx.com";
   .connect_timeout = 5s;
   .first_byte_timeout = 10s;
   .between_bytes_timeout = 10s;
}
Increase the parameter to 8192 When start varnish.
varnishd [options] http_resp_hdr_len = 8192
----------------------------------------------

But where is varnish configuration files in centos webpanel? Where I add these lines?


alebal


Which file?

In which file I add the lines of code?

alebal