git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fix templating escaping for logging templates in docs
090bc50Joel Speed
docs/3_configuration.md+3−3
@@ -149,7 +149,7 @@ If you require a different format than that, you can configure it with the `-aut
149The default format is configured as follows:
149The default format is configured as follows:
150
150
151```
151```
152−{{.Client}} - {{.Username}} [{{.Timestamp}}] [{{.Status}}] {{.Message}}
152+{% raw %}{{.Client}} - {{.Username}} [{{.Timestamp}}] [{{.Status}}] {{.Message}}{% endraw %}
153```
153```
154
154
155Available variables for auth logging:
155Available variables for auth logging:
@@ -177,7 +177,7 @@ If you require a different format than that, you can configure it with the `-req
177The default format is configured as follows:
177The default format is configured as follows:
178
178
179```
179```
180−{{.Client}} - {{.Username}} [{{.Timestamp}}] {{.Host}} {{.RequestMethod}} {{.Upstream}} {{.RequestURI}} {{.Protocol}} {{.UserAgent}} {{.StatusCode}} {{.ResponseSize}} {{.RequestDuration}}
180+{% raw %}{{.Client}} - {{.Username}} [{{.Timestamp}}] {{.Host}} {{.RequestMethod}} {{.Upstream}} {{.RequestURI}} {{.Protocol}} {{.UserAgent}} {{.StatusCode}} {{.ResponseSize}} {{.RequestDuration}}{% endraw %}
181```
181```
182
182
183Available variables for request logging:
183Available variables for request logging:
@@ -207,7 +207,7 @@ All other logging that is not covered by the above two types of logging will be
207If you require a different format than that, you can configure it with the `-standard-logging-format` flag. The default format is configured as follows:
207If you require a different format than that, you can configure it with the `-standard-logging-format` flag. The default format is configured as follows:
208
208
209```
209```
210−[{{.Timestamp}}] [{{.File}}] {{.Message}}
210+{% raw %}[{{.Timestamp}}] [{{.File}}] {{.Message}}{% endraw %}
211```
211```
212
212
213Available variables for standard logging:
213Available variables for standard logging: