Hello I was wondering if its possible to add Ultimate bad bot blocker and NAXSI, maybe as a argument?Bad Bot Blocker (-bot-block)NAXSI (-naxsi)Cloudflare (-cf)Thanks.
Thanks for your suggestions, but these features are out of the scope of this project.
What is needed to add it on my own?I've checked the internal API events and also the 'api-events_sample' file but having a hard time understanding on how to add custom commands.Bad bot blocker (-bad-bot=on/off) and Cloudflare (-cf=on/off) would be optimal for me since NAXSI seems way too advanced and from what I saw and read it seems that I would need to compile nginx from source with some specific modules.I think the route would be:- site domain.com -cf=on/off- check if domain.com exists- check if cf config file and entry in vhost file already exist- if not, then add it or remove it (-cf=on / -cf=off)Same goes for -bad-bot=on/off.Also another question:Can I add multiple functions into the api-events file?I just have trouble finding a starting point, if its even possible like I want it.
Also, you should read this: https://webinoly.com/en/documentation/sites/#nginx
to easily include custom Nginx rules to your sites.
Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.