Thanks for your answer and apologies for the long delay. How would the $http_host ever be empty? If I make a request without it I receive a 400 Bad Request as the HTTP spec defines it. Does Nginx still forward the request to the upstream server and populate a cache entry? Additionally, if I make requests to our backend without a proper X-Forwarded-For header I will always receive a 404 and nby benzimmer - Nginx Mailing List - English
We've been using Nginx as a caching proxy for quite a while in different scenarios now. Since a few weeks and especially in the last couple of days we continue to encounter a strange behaviour in one of our scenarios leading to wrong content being delivered. In that case we use Nginx as a caching proxy for a bunch of subdomains on a kind of multitenancy application. We established the setup 4 mby benzimmer - Nginx Mailing List - English