Block recurrent junk requests with Nginx.
This file was originally made to reduce junk in our Laravel application access logs.
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
- Copy junk-reducer file in /etc/nginx/
- Add in your server section:
server{
...
...
...
include junk-reducer;
...
}
- Reload Nginx