Skip to content

devopsninja254/nginx-shell-scripts

 
 

Repository files navigation

nginx

A collection of scripts for automating various tasks with Nginx

Build Status

  • add-cidr.sh Add CIDR notation to any IPs missing /32 /24 or /14 CIDR notation
  • nginx-allowlist-generator.sh Read from the list of IPs (non CIDR notation) in the file allowlist and generate the Nginx allow conf
  • nginx-denylist-generator.sh Read from the list of CIDRs in the file blacklist and generate the Nginx deny conf
  • nginx-realip.conf Config to be added to Nginx to get the real IP from an AWS ELB
  • nginx-realip.sh Reconfigures Nginx to log traffic using the real client IP address specified in the X-Forwarded-For header added by an AWS ELB
  • nginx-referrers.sh Quickly list unique referrer URLs from Nginx access log
  • nginxdenylist.conf Nginx deny conf based on iptables/blacklist
  • ssl-gen.sh Generate SHA-256 self-signed SSL certificate

About

A collection of scripts for automating various tasks with Nginx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%