I’m exploring routing all file uploads to a given backend in varnish. The obvious way to do this would be to match the urls that could be POST’ed to, but I also want to try and configure a catch-all that would route anything we missed in the url matching.
Is it possible to do this reliably?
As I was thinking through the question, it occurred to me that checking for
in vcl_recv should be a reliable way to do this.
Edit: this appears to capture 90% of uploads in the context where I needed to do this.