Difference between revisions of "Talk:Rocket Chat"

From SME Server
Jump to navigationJump to search
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 /api/info http://localhost:3000/api/info
 
  ProxyPass / http://localhost:3000/
 
  ProxyPass / http://localhost:3000/
 
  ProxyPassReverse / http://localhost:3000/
 
  ProxyPassReverse / http://localhost:3000/
 
----
 
----

Revision as of 11:01, 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 /api/info http://localhost:3000/api/info 
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/