diff --git a/rootfs/etc/nginx/template/nginx.tmpl b/rootfs/etc/nginx/template/nginx.tmpl index 2a7890d901..808244d79a 100755 --- a/rootfs/etc/nginx/template/nginx.tmpl +++ b/rootfs/etc/nginx/template/nginx.tmpl @@ -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;