Welcome! Log In Create A New Profile

Advanced

NGINX - forbidden custom message

March 03, 2012 10:07AM
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 1.0.0.0/8 or 12.0.0.0/8 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?

http://alexus.org/
SubjectAuthorPosted

NGINX - forbidden custom message

alexusMarch 03, 2012 10:07AM

Re: NGINX - forbidden custom message

António P. P. AlmeidaMarch 03, 2012 12:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 5 on May 22, 2013
Record Number of Guests: 150 on May 22, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready