Merge pull request #6529 from m22r/master
Fix ErrorLogLevel in stream contexts
This commit is contained in:
commit
beb2eff087
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ stream {
|
||||||
access_log {{ or $cfg.StreamAccessLogPath $cfg.AccessLogPath }} log_stream {{ $cfg.AccessLogParams }};
|
access_log {{ or $cfg.StreamAccessLogPath $cfg.AccessLogPath }} log_stream {{ $cfg.AccessLogParams }};
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
error_log {{ $cfg.ErrorLogPath }};
|
error_log {{ $cfg.ErrorLogPath }} {{ $cfg.ErrorLogLevel }};
|
||||||
|
|
||||||
{{ if $cfg.EnableRealIp }}
|
{{ if $cfg.EnableRealIp }}
|
||||||
{{ range $trusted_ip := $cfg.ProxyRealIPCIDR }}
|
{{ range $trusted_ip := $cfg.ProxyRealIPCIDR }}
|
||||||
|
|
Loading…
Reference in a new issue