cut backend subsite on proxy for accessing files as root path

Solution 1:

In the backend section,

http-request replace-path ^/subsite/(.*) /\1 if { path_beg /subsite/ }