Service collects Tor exit nodes and prepare conf format to block in NGINX
To your nginx.conf
add line
http {
...
# blocked IPs
include /etc/nginx/block/*.conf;
}
Create directory block
mkdir -p /etc/nginx/block/
Add crontab rule
*/5 * * * * curl --output /etc/nginx/block/tor.conf http://localhost:8091/