Currently, I am trying to make my nginx bypass any content which has the header Cache-Control: no-cache I only want nginx to bypass specifically Cache-Control: no-cache and no other Cache-Control header. Is there any way I can check the value the http_cache_control header and then bypass it ?
My current configuration is like this:
proxy_cache_bypass $http_restock_fridge;
How do I add Cache-Control: no-cache in the proxy_cache_bypass now?