Apache proxyPassReverse and Websockets

前端 未结 3 1798
耶瑟儿~
耶瑟儿~ 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: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

提交回复
热议问题