From: Sven Hoexter Date: Sun, 2 Dec 2018 10:15:02 +0000 (+0100) Subject: nginx config to set cache-control response header based on a cc request header X-Git-Url: http://git.sven.stormbind.net/?a=commitdiff_plain;h=6e299d8972a76bdddc703c58a98c724ff8e67746;hp=6e299d8972a76bdddc703c58a98c724ff8e67746;p=sven%2Fscripts.git nginx config to set cache-control response header based on a cc request header Looks out for the request HTTP header "cc", if it's set it takes the header values verbatim and uses them as the value for a "cache-control" response header. Allows for a dynamic evaluation of a CDN caching configuration. ---