Thanks for the suggestion. I will consider using the URI instead.by trungaczne - Nginx Mailing List - English
Using "proxy_cache" directive with a variable seems to change that variable's value. Tested against a fresh install of nginx 1.9.6 (default configure parameters) on 2 different Ubuntu:14.04 hosts. DigitalOcean droplets. The following configuration works as expected: It returns 0/1/2 depending on the mimetype returned by the upstream. The returned header is always correct. workerby trungaczne - Nginx Mailing List - English