# Nginx WAF rules for PHP # Automatically generated from OWASP rules. # Include this file in your server or location block. map $request_uri $waf_block_php { default 0; "~*(?i)" 1; "~*.*.(?:phpd*|phtml)..*$" 1; "~*(?: