Which proxy modules are required for proxying Websocket connections?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Which proxy modules are required for proxying Websocket connections?

Christopher Schultz-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

If I want to allow HTTP connections to upgrade to WebSocket, which
mod_proxy modules do I need to enable and configure?

More specifically, do I need to enable+configure both mod_proxy_http
AND mod_proxy_wstunnel, or only mod_proxy_wstunnel?

<Proxy balancer://my-app>
  # Do I need these?
  BalancerMember http://node1/
  BalancerMember http://node2/

  # Or only these?
  BalancerMember ws://node1/
  BalancerMember ws://node2/

  # Or both?
</Proxy>

ProxyPass /my-app/ balancer://my/app/

Is the answer any different if I don't expect all connections to be
upgraded from HTTP -> Websocket?

Thanks!
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl8HLy8ACgkQHPApP6U8
pFj9qhAAneq1hspxrenc4gjPyzYSB6rIiApR1gtz0ex6PP9RzQyqq2sqxIJhc9gJ
A0XPRnLAkkb8TjvyWxGDKKcPwbcjPuDMwIKbcudhpUU+azUEI0FN7bazFhgElmmJ
sHmxa54N54JwFEThyFiudUVUe4rbB/MUrY62q4X25JRy/o7TcNqsdnnNGoUo/K65
x0Xno/xqnTLcfHp8ZMw/q1pAB6gPgSHve1/UbULhjEwJ5yOQIJcWYU/81rtVjHtq
So5GiyPBfJJRh4nopbH+qiz2wRjj+vDj+TPYcWco5E4Qnc60QaTsYNuN8LD2+v0f
OnTvrqabUPvgM8P1wc8duYDH0X6EIJ1zVnV7H1XlZZUbVwekfFdqdOwtEi9Ovt59
uuGa7NT1mACHtym6ylWifSmxuYP7WaRHtGTBxqnI1hLrM52gJxv+BP01axIr3Dki
UmHfHhrWa8L83UaCjU2otvFvI0U7V+KhiCR0zp/3kdlv6RXWsFeTeQ5HMrDk88io
kj3pxARqpH6fGYFK1vC8FDRAoHGghhji1T+ffg4moaAIJV1I1ebNBwNUnMo+j35F
8/2KGIR6dVQVUml5AOdAL//c/99Ytaj8tl/X3wmCl0p1V38my5YcB/d//U0CTMJ/
CZxw0Dk4NaHB13ecKMsUgSinJv+LQbhTDw1iicDW/Fz+VaacKlQ=
=IYPR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]