Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

How to log $upstream_addr with fastcgi_cache_background_update on

$
0
0
When fastcgi_cache_background_update is on nginx make request in background.

In that case $upstream_cache_status = STALE, $request_time equal to real upstream response time, but $upstream_addr and $upstream_response_time is empty.

How can I log correct $upstream_addr to identify which backend processed the request.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>