All,
I try to use haproxy as load balance and haproxy-ingress as ingress controller in k8s.
my load balance config:

my ingress:
li-frontend is a dashboard ui service.
All is ok when I set the path field to blank in my ingress. and page is not normal when the path field seted to /storage or any non blank value.
I find some link not get correct position, e.g.
requst correct value
/main.js /storage/main.js
I found this in nginx-ingress:
#rewrite ^/main(.*)$ /storage/main$1 redirect;
Does haproxy-ingress has same function?
I try these, but no effect:
In addition, I use rewrite in nginx-ingress, but it don't work on websocket.
Sorry for my pool english.