Merge pull request #4658 from turchanov/fix-stream_log_format
Need to quote expansion of `$cfg.LogFormatStream` in `log_stream` access log
This commit is contained in:
commit
8537d7e047
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ stream {
|
|||
|
||||
lua_add_variable $proxy_upstream_name;
|
||||
|
||||
log_format log_stream {{ $cfg.LogFormatStream }};
|
||||
log_format log_stream '{{ $cfg.LogFormatStream }}';
|
||||
|
||||
{{ if $cfg.DisableAccessLog }}
|
||||
access_log off;
|
||||
|
|
Loading…
Reference in a new issue