Hi,
When doing a comparison inside a conditional statement, what is the
accepted way to provide multiple scenarios to test against inside the
conditional?
For instance, if I set up multiple ACLs, and then check client.ip against
them using the following syntax, is it likely to work?
if (client.ip ~ acl1 || acl2 || acl3 ) {
...
}
If not, does anyone know what will work?
Thanks,
Andrew Langhorn
Web Operations
Government Digital Service
e: [email protected]
a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc