You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tammert it would indeed be better to not load the module if it won't be used as long as achieving it does not require complex logic or add performance penalty to new config rendering.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
NGINX Ingress controller version:
Since 08-10-2017.
What happened:
ingress-nginx/rootfs/etc/nginx/template/nginx.tmpl
Line 19 in 79c52cf
The ModSecurity module is always loaded, even if ModSecurity it not enabled. Other parts of the template are dependent on the actual configuration:
ingress-nginx/rootfs/etc/nginx/template/nginx.tmpl
Line 1158 in 79c52cf
What you expected to happen:
ModSecurity module is only loaded when it is activated by configuration.
Anything else we need to know:
If you agree it would be better only to load this module when ModSec is enabled, I can submit a PR for this :).
The text was updated successfully, but these errors were encountered: