Hey Guys...
I'm developing a proxy server by having some different vhosts using openresty!
I'm looking for a way to filter some specific modsecurity rules for each vhost,
but I think nginx can't support filtering modsec rules for each vhost!
because I've seen we can just add all of our rules inside nginx.conf,
and I think there isn't any command to filter and set some of these rules for specific vhosts!
in other words, if I set:
modsecurity on;
modsecurity_rules_file my_rule_01.conf;
modsecurity_rules_file my_rule_02.conf;
modsecurity_rules_file my_rule_03.conf;
so it will apply all of these rules for all of proxy upstreams and if I want to apply just my_rule_02.conf to host number 10, there isn't any way to do that!
Am I Right?