NGINX - forbidden custom message

alexus nginx-forum at
Sat Mar 3 15:07:12 UTC 2012

sorry for being so direct but this is what I need to do...

in one of my virtual hosts I need to show a custom message based on
user's IP.

for example...

if user comes from or it get a custom message/page
yet if user comes from anywhere else he'll be able to use site normally

how would I accomplish that?

Posted at Nginx Forum:,223295,223295#msg-223295

More information about the nginx mailing list