Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Proxying websockets

$
0
0

I need to have a number of websocket backing servers, here is config which indeed does not work but it’s easy to comprehend what is needed:

frontend s
bind :8080
default_backend ws_servers

backend ws_servers
balance roundrobin
option http-server-close
# SSL with path
server s1 server.tld:443/path/to/v1/API_KEY check
# no path!
server s2 192.168.0.1 check

So here are 2 servers in backend section, one is SSL endpoint with path and another one is not utilizing SSL and has no path. Is it possible to configure haproxy this way?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>