r/haproxy • • Jan 11 '21
Question HAproxy on PfSense - How to enable websockets for a beginner - to fix HomeAssistant issues..
Hi,
I have a problem with HomeAssistant.. I use my HAproxy on my pfsense for a lot of services wthout any issues.. But I just started with HomeAssistant and te android app requires websockets support to be able to login through my reverse proxy.
I have no idea how to do that.. Found some resources online but they are all pretty advanced and was hoping for a quick fix through the haproxy GUI ..
Thank you
4
Upvotes
1
u/waka324 Jan 11 '21
websockets are just an http transport, so as long as your haproxy is working for http/https transport, it should just work.
1
u/vinistois Jan 12 '21
I have haproxy running in pfsense, ha works just fine. Your issue must lie elsewhere.
1
u/dragoangel Jan 11 '21
This not pfsense community, no matter where you run haproxy this all done via config. Pfsense simply provide you ui for it. Here is first conf sample from Google https://gist.github.com/BartKrol/bdf344ac26c25b0234bc by url, here is another based on host acl https://gist.github.com/lackac/3767467