tarantool / nginx_upstream_module

Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
Other
174 stars 18 forks source link

Make $upstream_* variables meaningful #121

Closed nybus closed 5 years ago

nybus commented 5 years ago

Specifically

$upstream_response_time
$upstream_status
$upstream_addr

nginx.conf: log_format main ... 'rt=$request_time urt=$upstream_response_time us=$upstream_status u="$upstream_addr"';

access.log: rt=0.010 urt=- us=- u="-"

dedok commented 5 years ago

Hi,

Can't reproduce this.

NGINX version: 1.15.11 I used following configuration:

http {                                                                                                                                                          
    log_format main 'rt=$request_time urt=$upstream_response_time us=$upstream_status u="$upstream_addr"';

    server {                                                                                                                                     
      location / {                                                            
       tnt_pass tnt;
       access_log log/echo.log main;                                                        
    }
}                  
dedok commented 5 years ago

Hi,

I closed this, since this bug can't be reproduces, if you still have this issue, then please re-open this one.

Thanks!