Line 176:
Line 176:
It should look like this:
It should look like this:
chat.mycompany.local=domain
chat.mycompany.local=domain
−
Nameservers=internet
+
Nameservers=internet (can be localhost)
ProxyPassTarget=http://127.0.0.1:3000/
ProxyPassTarget=http://127.0.0.1:3000/
TemplatePath=ProxyPassVirtualRocketchat
TemplatePath=ProxyPassVirtualRocketchat
+
letsencryptSSLcert=enabled (with letsencrypt support)
We need to set Rocket.Chat to listen on localhost now:
We need to set Rocket.Chat to listen on localhost now:
Line 193:
Line 194:
You may find you need to clear your browser cache before it works correctly on https://chat.mycompany.local rather than http://chat.mycompany.local:3000
You may find you need to clear your browser cache before it works correctly on https://chat.mycompany.local rather than http://chat.mycompany.local:3000
−
You can now set your main domain to SSL only:
+
IF you have Letsencrypt support you can now set your main domain to SSL only:
db accounts setprop Primary SSL enabled
db accounts setprop Primary SSL enabled