Welcome! Log In Create A New Profile

Advanced

Re: Global denial for certain IPs or agents?

mex
May 10, 2016 10:44AM
Hi Alex,

you can do it that way or use something like this
inside your server {} block:

allow IP1;
allow IP2;
allow IP3;

deny all;


http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
Subject Author Posted

Global denial for certain IPs or agents?

Alex Hall May 10, 2016 09:44AM

Re: Global denial for certain IPs or agents?

mex May 10, 2016 09:46AM

Re: Global denial for certain IPs or agents?

Alex Hall May 10, 2016 10:04AM

Re: Global denial for certain IPs or agents?

mex May 10, 2016 10:44AM

Re: Global denial for certain IPs or agents?

Francis Daly May 10, 2016 04:22PM

Re: Global denial for certain IPs or agents?

A. Schulze May 10, 2016 04:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 106
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready