Making auth access logs optional (#10335)

This commit is contained in:
Marcelo Cyreno 2023-08-28 11:37:44 -03:00 committed by GitHub
parent 1ce25127bd
commit 93f9ac2521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -1102,7 +1102,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 }}