Thanks. That page says that, to do the actual returning of the 4xx error, you must go go your site's configuration, not the global conf file. Am I reading that right? Is the easiest way to set my own variable in the main conf file, based on IP, then just do a check for that variable in each site's file? Or is there another way?
On Tue, May 10, 2016 at 9:46 AM, mex <[email protected]> wrote: > Hi Alex > > this might be an inspiration for your task: > > https://www.howtoforge.com/nginx-how-to-block-visitors-by-country-with-the-geoip-module-debian-ubuntu > > > > cheers, > > > mex > > Posted at Nginx Forum: > https://forum.nginx.org/read.php?2,266738,266739#msg-266739 > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx > -- Alex Hall Automatic Distributors, IT department [email protected]
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
