Control Web Panel

WebPanel => Information => Topic started by: alebal on July 06, 2016, 01:39:29 AM

Title: where is varnish configuration file?
Post by: alebal on July 06, 2016, 01:39:29 AM
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?
Title: Re: where is varnish configuration file?
Post by: Sandeep on July 06, 2016, 08:58:35 PM
/etc/varnish/
Title: Re: where is varnish configuration file?
Post by: alebal on July 06, 2016, 11:14:18 PM
(http://alebalweb.com/temp/Schermata%20del%202016-07-07%2001:11:02.png)
Which file?

In which file I add the lines of code?
Title: Re: where is varnish configuration file?
Post by: alebal on July 07, 2016, 01:38:00 AM
Found ... is backends.vlc