Welcome! Log In Create A New Profile

Advanced

Re: Question about $upstream_cache_status

Maxim Dounin
April 25, 2017 12:26PM
Hello!

On Tue, Apr 25, 2017 at 06:01:11PM +0200, rainer@ultra-secure.de wrote:

> am I right that $upstream_cache_status primarily concerns nginx' own
> upstreams like fastcgi, uwsgi etc?

Yes.

> Or is there a possibility to display whether an upstream varnish has had
> the page cached?

To obtain additional information from upstream servers you can use
HTTP headers. Headers as received from an upstream server are
available as $upstream_http_* variables, see docs here:

http://nginx.org/r/$upstream_http_

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Question about $upstream_cache_status

Anonymous User April 25, 2017 12:02PM

Re: Question about $upstream_cache_status

Maxim Dounin April 25, 2017 12:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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