Changes

Jump to navigation Jump to search
802 bytes added ,  18:49, 21 August 2016
m
no edit summary
Line 120: Line 120:  
  config setprop rocketchat access private
 
  config setprop rocketchat access private
 
  signal-event remoteaccess-update
 
  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:
 +
 +
db domains setprop chat.mycompany.local letsencryptSSLcert enabled
 +
 +
===Mongo DB examples===
 +
 +
Example using mongo itself:
 +
 +
mongo
 +
 +
use rocketchat
 +
 +
db.rocketchat_settings.find({"_id" : "SMTP_Host"})
 +
db.rocketchat_settings.find({"_id" : "From_Email"})
 +
 +
db.rocketchat_settings.findOne({_id : "From_Email"}, {_id:0, value: 1})
 +
db.rocketchat_settings.findOne({_id : "SMTP_Host"}, {_id:0, value: 1})
 +
 +
 +
db.rocketchat_settings.update({"_id" : "From_Email"}, {$set: {"value":"admin@reetspetit.info"}})
 +
db.rocketchat_settings.update({"_id" : "SMTP_Host"}, {$set: {"value":"mail.reetspetit.info"}})

Navigation menu