If statement REGEXP question

How would I do something like
if ( $host !~* ^(.domain(1|2|3)abc.com.)$" )

I’ve tried, doesn’t work :confused: Nginx 0.6.32

Thanks

Hi Paul – looks like there’s an extra/unmatched quote (") after the
dollar
sign.

Yes :slight_smile: That was a typo in the e-mail… I think I figured it out though…
It seemed to be an issue of what was happening after
the if statement and I needed to put in a break;

Thanks for looking !

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs