Nginx rewrite host

Glen Lumanau glen at lumanau.web.id
Wed Feb 11 07:44:34 MSK 2009


Hello!

 

How can I create this rule

If host = 127.0.0.1, 127.0.0.2

Do nothing

 

If host != 127.0.0.1, 127.0.0.2

Rewrite bla bla bla

 

Thank you for any help

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090211/9484cb05/attachment.html>


More information about the nginx mailing list