Lint nginx code

This commit is contained in:
Manuel de Brito Fontes 2017-06-14 23:05:04 -04:00
parent e9871ffaad
commit 92e3b5ba78
4 changed files with 3 additions and 8 deletions

View file

@ -93,7 +93,7 @@ http {
# disable warnings
uninitialized_variable_warn off;
log_format upstreaminfo {{ if $cfg.LogFormatEscapeJson }}escape=json {{ end }}'{{ buildLogFormatUpstream $cfg }}';
log_format upstreaminfo {{ if $cfg.LogFormatEscapeJSON }}escape=json {{ end }}'{{ buildLogFormatUpstream $cfg }}';
{{/* map urls that should not appear in access.log */}}
{{/* http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log */}}