Skip to content

Commit 20cab08

Browse files
authored
support multiline access log format (#162)
1 parent 9739664 commit 20cab08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

charts/gateway/templates/configmap.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ data:
151151
enable_access_log: {{ .Values.logs.enableAccessLog }}
152152
{{- if .Values.logs.enableAccessLog }}
153153
access_log: "{{ .Values.logs.accessLog }}"
154-
access_log_format: '{{ .Values.logs.accessLogFormat }}'
154+
access_log_format: >-
155+
{{ .Values.logs.accessLogFormat | nindent 10 }}
155156
access_log_format_escape: {{ .Values.logs.accessLogFormatEscape }}
156157
{{- end }}
157158
keepalive_timeout: 60s # timeout during which a keep-alive client connection will stay open on the server side.

0 commit comments

Comments
 (0)