Nginx (Modsecurity + WAF)

Is there a guide for this?

Everything I’ve found online (such as for the coresec rules) doesn’t appear to work correctly and outputs errors on nginx.

did you found this: https://www.c-rieger.de/nextcloud-with-modsecurity-3-web-application-firewall/