Fixed if empty ModsecuritySnippet

This commit is contained in:
besha100 2021-12-15 18:48:57 +01:00
parent 112c3e4291
commit b86c2199ed

View file

@ -155,7 +155,7 @@ http {
';
{{ end }}
{{ if not $all.Cfg.ModsecuritySnippet }}
{{ if (empty $all.Cfg.ModsecuritySnippet) }}
modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;
{{ end }}