Apache proxyPassReverse and Websockets

前端 未结 3 1799
耶瑟儿~
耶瑟儿~ 2021-01-03 23:55

I\'ve been working on a Perl Mojolicious project that uses websockets. I\'m wanting to launch it on a shared server running apache and use proxyPass and proxyPassReverse to

相关标签:
3条回答
  • 2021-01-04 00:12

    This might be what you are looking for. Take a look at: https://npmjs.org/package/npr

    0 讨论(0)
  • 2021-01-04 00:22

    In March a patch was committed to the Apache trunk by Jim Jagielski which allows websockets to be proxied correctly. The patch adds a new submodule called proxy_wstunnel which allows mod_proxy to work with the "ws" and "wss" protocols.

    The module is not yet in any official Apache releases (as of June 8th 2013), so you will need to compile it yourself. Voyageur's blog describes the process for Apache 2.2, but it should be easier for Apache 2.4

    0 讨论(0)
  • 2021-01-04 00:28

    Apache httpd 2.4.6 includes proxying websocket requests.

    0 讨论(0)
提交回复
热议问题