Author Topic: where is varnish configuration file?  (Read 9041 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
where is varnish configuration file?
« 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?

Offline
*****
Re: where is varnish configuration file?
« Reply #1 on: July 06, 2016, 08:58:35 PM »
/etc/varnish/

Offline
*
Re: where is varnish configuration file?
« Reply #2 on: July 06, 2016, 11:14:18 PM »

Which file?

In which file I add the lines of code?

Offline
*
Re: where is varnish configuration file?
« Reply #3 on: July 07, 2016, 01:38:00 AM »
Found ... is backends.vlc