cli bans

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Aug 23 08:19:30 UTC 2019


--------
In message <AM6PR01MB4279859358682284C40C3457A0A40 at AM6PR01MB4279.eurprd01.prod.exchangelabs.com>, eric.m.vandenhout at kpn.com writes
:

> Thnx for you reply.
> Anther question that pops in mind then. Can vcl's include other files?

Yes:

	include "path-to-file" ;

works _anywhere_ in VCL.

You can do strange things with it like:

	acl something {
		include "/some/where/acl_body";
	}

or even

	acl include "/some/where/name_of_acl"; {
		include "/some/where/acl_body";
	}

But that is probably not very useful :-)

-- 
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