Skip to content

Template configuration files for nginx >= 1.15 (including, FPM, bad robots blocking, munin support, TLS/Let's Encrypt, etc.)

Notifications You must be signed in to change notification settings

AnnoyingTechnology/nginx-configuration-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NGinX configuration template

This offers

  • Bad robots blocking
  • Legitimate robots blocking
  • Scanner and script kiddies blocking
  • Blocking IPs that don't belong to you
  • HTTP Basic Auth
  • Let's encrypt integration
  • Assets compression and caching
  • PHP-FPM configuration for 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1 (on demand)
  • Munin (monitoring) support
  • Three levels of SSL/TLS security to choose from (using different ciphers and minimum tls versions)

It has three sample domains configuration files

  • a public website (allow indexing, etc.)
  • a private backend (disallow indexing, block all but your IPs, requires auth, etc.)
  • a web application (disallow indexing, block scanner/bots, etc.)

Install nginx (tested on 1.15), copy those configuration files and tweak to your needs.

About

Template configuration files for nginx >= 1.15 (including, FPM, bad robots blocking, munin support, TLS/Let's Encrypt, etc.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published