<div dir="ltr"><div>Hi,</div><div><br></div><div>When doing a comparison inside a conditional statement, what is the accepted way to provide multiple scenarios to test against inside the conditional?</div><div><br></div><div>For instance, if I set up multiple ACLs, and then check client.ip against them using the following syntax, is it likely to work?</div><div><br></div><div>if (client.ip ~ acl1 || acl2 || acl3 ) {</div><div> ...</div><div>}</div><div><br></div><div>If not, does anyone know what will work?</div><div><br></div><div>Thanks,</div><div><br></div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Andrew Langhorn<br></div><div>Web Operations</div><div>Government Digital Service</div><div><br></div><div>e: <a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a></div><div>a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH</div></div></div></div></div>
</div>