Welcome! Log In Create A New Profile


nginx upstream name in log

Posted by mouserok 
nginx upstream name in log
February 07, 2013 07:45AM
Добрый день!

в конфиге
proxy_connect_timeout 20;
proxy_next_upstream error timeout http_502 http_503 http_504 http_404;

в логе
IP 0.003 [time] "POST /uri HTTP/1.1" 502 upstream_name_first
IP 13.732 [time] "POST /uri HTTP/1.1" 502 SRV_IP_FIRST
IP 120.001 [time] "POST /uri HTTP/1.1" 502 SRV_IP_SECOND, SRV_IP_FIRST, upstream_name_second

как получилось время ответа = 120 ???
и как в лог попал upstream name в переменной $upstream_addr???
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 345
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready