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 }}
|
||||
|
||||
{{ if not $all.Cfg.ModsecuritySnippet }}
|
||||
{{ if (empty $all.Cfg.ModsecuritySnippet) }}
|
||||
modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue