mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
nginx snippets generation fix + others minor improvements.
This commit is contained in:
@@ -24,10 +24,7 @@ OUTPUT_DIRS = {
|
||||
BOT_LIST_SOURCES = [
|
||||
"https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/_generator_lists/bad-user-agents.list",
|
||||
"https://raw.githubusercontent.com/JayBizzle/Crawler-Detect/master/raw/Crawlers.txt",
|
||||
"https://raw.githubusercontent.com/piwik/referrer-spam-blacklist/master/spammers.txt",
|
||||
"https://raw.githubusercontent.com/Stevie-Ray/referrer-spam-blocker/master/src/hosts.txt",
|
||||
"https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/bad-user-agents.txt"
|
||||
]
|
||||
"https://raw.githubusercontent.com/piwik/referrer-spam-blacklist/master/spammers.txt"]
|
||||
|
||||
RATE_LIMIT_DELAY = 600
|
||||
RETRY_DELAY = 5
|
||||
@@ -205,4 +202,4 @@ if __name__ == "__main__":
|
||||
generate_traefik_conf(bots)
|
||||
generate_haproxy_conf(bots)
|
||||
|
||||
logging.info("[✔] Bot blocking configurations generated for all platforms.")
|
||||
logging.info("[✔] Bot blocking configurations generated for all platforms.")
|
||||
Reference in New Issue
Block a user