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