Can VCL files use includes?

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Apr 10 18:04:14 CEST 2009


In message <49DF26A3.7030208 at stillbilde.net>, "Svein Skogen (listmail accont)" 
writes:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Can a VCL file use includes in blocks?

Yes, in fact you can use it everywhere, just put

	include "filename" ;

This was done so that for instance ACLs could be included etc.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list