Varnish Live

How to add authentication?

VCS can run without authentication but we recommend that you add some basic authentication. To add authentication, we will need some VCL configuration and base64 encoded [username:password] string. To generate base64 you can run the following bash script on your terminal or you can generate the way you prefer:

echo -n "username:password" | base64

See the VCL example.