Difference between revisions of "Talk:Rocket Chat"

From SME Server
Jump to navigationJump to search
(Created page with "==Various notes== To be able to redirect https traffic to the Rocket.Chat engine, the following must be present in httpd.conf under the virtualhost sub-domain: ProxyPass /.we...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Various notes==
 
==Various notes==
To be able to redirect https traffic to the Rocket.Chat engine, the following must be present in httpd.conf under the virtualhost sub-domain:
+
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/ !
 
  ProxyPass /.well-known/acme-challenge/ !
 
  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 / http://localhost:3000/
 
  ProxyPass / http://localhost:3000/
 
  ProxyPassReverse / http://localhost:3000/
 
  ProxyPassReverse / http://localhost:3000/
 
----
 
----

Latest revision as of 12: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/