Making auth access logs optional (#10380)
Co-authored-by: Marcelo Cyreno <812725+marcelocyreno@users.noreply.github.com>
This commit is contained in:
parent
fb80e6d53f
commit
a281bf0bf3
2 changed files with 7 additions and 0 deletions
|
|
@ -1103,7 +1103,9 @@ stream {
|
|||
opentelemetry_propagate;
|
||||
{{ end }}
|
||||
|
||||
{{ if not $all.Cfg.EnableAuthAccessLog }}
|
||||
access_log off;
|
||||
{{ end }}
|
||||
|
||||
# Ensure that modsecurity will not run on an internal location as this is not accessible from outside
|
||||
{{ if $all.Cfg.EnableModsecurity }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue