location = /now {
chunked_transfer_encoding off;
content_by_lua_block {
local buf = ngx.now()
--ngx.header["Content-Length"] = #tostring(buf)
ngx.print( buf )
}
header_filter_by_lua_block {
ngx.header["Content-Length"] = nil
}
}