Reverse Proxy
Haproxy
removing /bfabric
frontend https_in
acl fgcz-bfabric hdr_beg(host) -i fgcz-bfabric. bfabric.fgcz.uzh.ch
acl bfabric path_reg ^/bfabric(/|$)
use_backend bfpathredirect if fgcz-bfabric bfabric
use_backend fgczbfabric if fgcz-bfabric
backend fgczbfabric
server fgczbfabric 130.60.193.31:8080
backend bfpathredirect
http-request redirect code 301 location %[url,regsub(\"/bfabric(/|$)\","/")]
backend bfpathrewrite
http-request replace-uri '/bfabric(/.*)$' '\1'
server fgczbfabric 130.60.193.31:8080