Author Topic: Varnish 7 Installation & Configuration  (Read 34 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Varnish 7 Installation & Configuration
« on: April 09, 2025, 02:21:25 PM »
Has anyone successfully installed Varnish 7 on CWP yet?

I've tried a couple of times now but still get 503 when testing. Has anyone figured out the correct changes for the varnish.service file?

Offline
***
Re: Varnish 7 Installation & Configuration
« Reply #1 on: Today at 01:18:09 AM »
Has anyone successfully installed Varnish 7 on CWP yet?

I've tried a couple of times now but still get 503 when testing. Has anyone figured out the correct changes for the varnish.service file?

Yes.
You already install it?

After install, you need to change the line in file '/usr/lib/systemd/system/varnish.service' of default installation, from:
Code: [Select]
ExecStart=/usr/sbin/varnishd -a :6081 -f /etc/varnish/default.vcl -s malloc,256m
to:
Code: [Select]
ExecStart=/usr/sbin/varnishd -a :82 -f /etc/varnish/default.vcl -s malloc,256m
After that, run:
Code: [Select]
# systemctl daemon-reload