Proxying websockets

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?