--- /dev/null
+location /cc {
+ default_type 'text/plain';
+ content_by_lua_block {
+ local cc=ngx.req.get_headers()["cc"]
+ if cc ~= nil then
+ ngx.header["cache-control"]=cc
+ ngx.say(cc)
+ else
+ ngx.say("moep - no cc header found")
+ end
+ }
+}
\ No newline at end of file