Varnish controls and manipulates HTTP requests using Varnish Configuration Language (VCL). The following snippet of VCL removes cookie from incoming requests to /images subdirectory:
sub vcl_recv {
if (req.url ~ "^/images") {
unset req.http.cookie;
}
}