git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fix templating escaping for logging templates in docs
commit090bc50ec342242d126b204b7f8eed859384bf42 authorJoel Speed <Joel.speed@hotmail.co.uk> dateFri 10 May 2019, 11:45 (7 years ago) parentf262ec8
1 file changed+3−3
docs/3_configuration.md+3−3
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
149149The default format is configured as follows:
150150
151151```
152−{{.Client}} - {{.Username}} [{{.Timestamp}}] [{{.Status}}] {{.Message}}
152+{% raw %}{{.Client}} - {{.Username}} [{{.Timestamp}}] [{{.Status}}] {{.Message}}{% endraw %}
153153```
154154
155155Available variables for auth logging:
@@ -177,7 +177,7 @@ If you require a different format than that, you can configure it with the `-req
177177The default format is configured as follows:
178178
179179```
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 %}
181181```
182182
183183Available variables for request logging:
@@ -207,7 +207,7 @@ All other logging that is not covered by the above two types of logging will be
207207If you require a different format than that, you can configure it with the `-standard-logging-format` flag. The default format is configured as follows:
208208
209209```
210−[{{.Timestamp}}] [{{.File}}] {{.Message}}
210+{% raw %}[{{.Timestamp}}] [{{.File}}] {{.Message}}{% endraw %}
211211```
212212
213213Available variables for standard logging: