Fixed if empty ModsecuritySnippet
This commit is contained in:
parent
112c3e4291
commit
b86c2199ed
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ http {
|
||||||
';
|
';
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if not $all.Cfg.ModsecuritySnippet }}
|
{{ if (empty $all.Cfg.ModsecuritySnippet) }}
|
||||||
modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;
|
modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue