Skip to content

zarplata/nginx-acl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

nginx-acl

Generator of NGINX ACL rules by autonomous system number (ASN)

Installation

git clone https://github.com/zarplata/nginx-acl.git

Dependent binaries

  • jq
  • curl
  • xargs

Usage

Allow AS14061 (Digital Ocean).

nginx-acl.sh allow 14061 > /etc/nginx/config/allow/digital-ocean.conf

Deny AS14061 (Digital Ocean).

nginx-acl.sh deny 14061 > /etc/nginx/config/deny/digital-ocean.conf

About

Generator of NGINX ACL rules by autonomous system number (ASN)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages