Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
В $upstream response time показывается timestamp (1.1.14)
- To: nginx-ru@xxxxxxxxx
- Subject: В $upstream response time показывается timestamp (1.1.14)
- From: "A_HREF" <nginx-forum@xxxxxxxx>
- Date: Wed, 15 Feb 2012 03:27:54 -0500 (EST)
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=L2rzprwm3KsWH38fgsnMpRvn/KlJE/aLJy1Uf8DgBMo=; b=VIPnE6qiSxRtOveOo4kI1w5yekIgTViH2wyVWawqY8nddkuO9YvZwFdGWZ+Czbl+Pde71ub93Zoo/1wBIZ2/5bsL+PihVpJSaDskQSkawgLVasRw1z4DjRbTR/tbe4RF;
Проксирую запросы к бэкенду (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
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,222416,222416#msg-222416
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|