Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 520 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 520 Bytes

nginx-junk-reducer

Block recurrent junk requests with Nginx.

This file was originally made to reduce junk in our Laravel application access logs.

Warning

This config file might not be compatible with your application. Read junk-reducer file before installing.

Do not use with applications below:

  • Wordpress
  • PhpMyAdmin
  • ASP.NET

Installation

  1. Copy junk-reducer file in /etc/nginx/
  2. Add in your server section:
server{
  ...
  ...
  ...
  include junk-reducer;
  
  ...
}
  1. Reload Nginx