You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{- /* Access log directives for AccessLog. If path is "off" we disable logging. If Format set, use dev/stdout with that format. Otherwise use the given path. */ -}}
58
-
{{- $disable := false -}}
59
-
{{- if .LoggingSettings.AccessLog.Path }}
60
-
{{- if eq .LoggingSettings.AccessLog.Path "off" -}}
61
-
{{- $disable = true -}}
62
-
{{- end -}}
63
-
{{- end }}
64
-
{{- if $disable }}
59
+
{{- if .AccessLog }}
60
+
{{- if eq .AccessLog.Path "off" }}
65
61
access_log off;
66
-
{{- else }}
67
-
{{- if and .LoggingSettings.AccessLog.Path .LoggingSettings.AccessLog.Format }}
0 commit comments