Author Topic: Varnish Conf  (Read 653 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Varnish Conf
« on: June 27, 2025, 09:53:37 AM »
When I go to cwp - admin - select webservers

Nginx & Varnish & Apache ([Varnish Conf]) option

On clicking "Varnish Conf" link, I see the message

Quote
Varnish NOT installed or conf file /etc/varnish/varnish.params does not exist
On CentOS 8 you can edit file: /usr/lib/systemd/system/varnish.service

Should I do anything to fix this or is this okay?

Offline
*
Re: Varnish Conf
« Reply #1 on: September 23, 2025, 01:52:49 PM »
After some updates i had the same problem.
Install varnish manually:
Code: [Select]
dnf install varnish -y
Code: [Select]
systemctl edit varnish
Uncomment, config right ports:
Code: [Select]
[Service]
ExecStart=
ExecStart=/usr/sbin/varnishd \
  -a :82 \
  -T localhost:6082 \
  -f /etc/varnish/default.vcl \
  -s malloc,1024m

Code: [Select]
systemctl daemon-reexec
systemctl restart varnish
systemctl status varnish


and it works but not visible config in panel.
Looks like they changed place of config but don't add handling that config in web panel.

Offline
*****
Re: Varnish Conf
« Reply #2 on: September 23, 2025, 09:21:41 PM »
Did you try symlinking to /etc/varnish/varnish.params ? Or touching that file so it exists would be enough to dismiss the error. Depends on how dependent you are on the web GUI or if you do that kind of editing in the CLI.