Line 366: |
Line 366: |
| If you have an issue with no email sent/received then login using the email address and password you just set | | If you have an issue with no email sent/received then login using the email address and password you just set |
| | | |
| + | ===Next=== |
| | | |
| + | Look for bugs :-) |
| + | |
| + | ===SSL - in progress=== |
| + | |
| + | You will need smeserver-rocketchat-0.1-4 |
| + | |
| + | We need some extra settings to enable SSL with ProxyPass. |
| + | |
| + | First install proxy pass rpm: |
| + | |
| + | yum --enablerepo=fws install mod_proxy_wstunnel |
| + | |
| + | Regenerate httpd.conf |
| + | |
| + | signal-event remoteaccess-update |
| + | |
| + | Now we need to setup our subdomain |
| + | |
| + | db domains set chat.mycompany.local domain Description RocketChat Nameservers internet \ |
| + | TemplatePath ProxyPassVirtualRocketchat ProxyPassTarget http://localhost:3000/ |
| + | |
| + | It should look like this: |
| + | |
| + | chat.mycompany.local=domain |
| + | Nameservers=internet |
| + | ProxyPassTarget=http://127.0.0.1:3000/ |
| + | TemplatePath=ProxyPassVirtualRocketchat |
| + | |
| + | |
| + | We need to set Rocketchat to listen on localhost now: |
| + | |
| + | config setprop rocketchat rootURL localhost |
| + | signal-event remoteaccess-update |
| + | service rocketchat restart |
| + | |
| + | If you can now successfully get to Rocketchat on your subdomain https://chat.mycompany.local you can disable default access on port 3000: |
| | | |
− | Look for bugs :-)
| + | config setprop rocketchat access private |
| + | signal-event remoteaccess-update |
| + | |
| + | ===Letsencrypt support=== |
| + | |
| + | You can add letsencrypt should you wish - please see https://wiki.contribs.org/Letsencrypt |
| + | |
| + | You will need to add the domain key as follows, and add your letsencrypt certificates: |
| | | |
− | SSL - to do
| + | db domains setprop chat.mycompnay.local letsencryptSSLcert enabled |
| | | |
| + | ===Mongo DB examples=== |
| | | |
| Example using mongo itself: | | Example using mongo itself: |