Difference between revisions of "Talk:Rocket Chat"
From SME Server
Jump to navigationJump to searchm |
m |
||
Line 4: | Line 4: | ||
ProxyPreserveHost On | ProxyPreserveHost On | ||
ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket | ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket | ||
+ | ProxyPass /websocket ws://127.0.0.1:3000/websocket | ||
ProxyPass /api/info http://localhost:3000/api/info | ProxyPass /api/info http://localhost:3000/api/info | ||
ProxyPass / http://localhost:3000/ | ProxyPass / http://localhost:3000/ | ||
ProxyPassReverse / http://localhost:3000/ | ProxyPassReverse / http://localhost:3000/ | ||
---- | ---- |
Latest revision as of 11:03, 24 July 2017
Various notes
To be able to redirect https traffic to the http Rocket.Chat engine, the following must be present in httpd.conf under the virtualhost sub-domain:
ProxyPass /.well-known/acme-challenge/ ! ProxyPreserveHost On ProxyPassMatch ^/sockjs/(.*)/websocket ws://localhost:3000/sockjs/$1/websocket ProxyPass /websocket ws://127.0.0.1:3000/websocket ProxyPass /api/info http://localhost:3000/api/info ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/