Hello list,

I am working on routing an upload module that my application uses to a new 
backend, it seems simple enough but I would like to get some feedback.

The application uri looks like this:

My.app.com/upload?id=123&morestuff=haproxy+is+awesome

This is the config I have in mind:

acl uploads_capture  path_beg         /upload 
use_backend upload if uploads_capture
The question is, would this suffice to capture the upload URI and route to the 
proper backend? The upload POST contains a number of params, not sure if I 
should add a check to make sure it's a POST as well

Any feedback is appreciated!
Thank you

Reply via email to