How to change varnish port in Ubuntu

To clear cache, run

/usr/bin/varnishadm -S /etc/varnish/secret  -T "ban ~ .*"

Get stats


See Varnish logs


To view logs for “Error 503 Service Unavailable” error.

varnishlog -q 'RespStatus == 503' -g request

mod_rpaf help with showing users real IP when site is behind a proxy or varnish.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *