If statement REGEXP question

Paul paul at gtcomm.net
Fri Nov 7 08:01:56 MSK 2008


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

I've tried, doesn't work :/  Nginx 0.6.32

Thanks

-- 
GloboTech Communications
Phone: 1-514-907-0050 x 215
Toll Free: 1-(888)-GTCOMM1
Fax: 1-(514)-907-0750
paul at gtcomm.net
http://www.gtcomm.net 






More information about the nginx mailing list