Backtranslating a rewritten path

I am also quite new in HAproxy. I have a configuration to do where I have an URL that hsould be accessed
Target is

In my config fie haproxy.cfg I have added
frontend haproxy-main
bind *.65200
option forwardfor
defailt_backend iis_webserver

backend iis_webserver
http-request set-path “%[path,regsub(^/web/,/)]”
server webserver check

That works in one way, I write in the browser URL/page1.html

then click on a link and get that in my browser

but it should be URL/page2.html

I tried

http-response set-path /web/%[path]

but this is not working. Am I thinking into a wrong direction?