Welcome! Log In Create A New Profile

Advanced

В $upstream_response_time показывается timestamp (1.1.14)

February 15, 2012 03:27AM
Проксирую запросы к бэкенду (2 х IIS+ASP.NET) через Nginx.

location / {
proxy_pass http://backend;
proxy_cache off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header X-Time $upstream_response_time;
}

Так вот, в X-Time показывается что-то типа X-Time 1329323249.014


nginx version: nginx/1.1.14
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configure arguments: --without-http_autoindex_module --without-http_ssi_module --without-http_userid_module --without-http_auth_basic_module --without-http_geo_module --without-http_fastcgi_module --without-http_empty_gif_module --with-openssl=/lib64 --with-http_stub_status_module
Subject Author Posted

В $upstream_response_time показывается timestamp (1.1.14)

A_HREF February 15, 2012 03:27AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 218
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