HAproxy in PfSense

Hi, I just setup HAProxy in PfSense for reverse proxy usage. I am able to access the webpage but I found some issues:

  1. Edgerouter GUI dashboard graph/chart cannot be loaded. When this was setup in Sophos XG WAF, I need to passthrough websocket, but not sure how to do this in PfSense HAproxy

  2. RouterOS GUI will be kicked me out to the login page and states “gateway timeout”.

Does anyone know how to solve this?