Browse Source

fix cert path

master
rscmbbng 5 years ago
parent
commit
55420591ac
  1. 7
      raw/configuring_an_xmpp_server_prosody_0.11.md
  2. 2
      raw/downloads/prosody.0.11.cfg.lua

7
raw/configuring_an_xmpp_server_prosody_0.11.md

@ -131,7 +131,7 @@ The homebrewserver.club prosody config
allow_registration = false; -- Enable to allow people to register accounts on your server from their clients, for more information see http://prosody.im/doc/creating_accounts
certificates = "/etc/prosody/certs"
https_certificate = "certs/myserver.org.crt"
https_certificate = "certs/uploads.myserver.org.crt"
c2s_require_encryption = true -- Force clients to use encrypted connections
@ -194,10 +194,7 @@ Make Prosody import the LetsEncrypt certificates:
You might get the following output:
:::console
No certificate for host groups.myserver.org found :(
No certificate for host upload.myserver.org found :(
No certificate for host proxy.myserver.org found :(
Imported certificate and key for hosts myserver.org
Imported certificate and key for hosts myserver.org, groups.myserver.org, uploads.myserver.org, proxy.myserver.org
However, no need to worry since the last certificate contains information for all the above subdomains.

2
raw/downloads/prosody.0.11.cfg.lua

@ -37,7 +37,7 @@ allow_registration = false; -- Enable to allow people to register accounts on yo
certificates = "/etc/prosody/certs" -- Path where prosody looks for the certificates see: https://prosody.im/doc/letsencrypt
https_certificate = "certs/myserver.org.crt"
https_certificate = "certs/groups.myserver.org.crt"
c2s_require_encryption = true -- Force clients to use encrypted connections

Loading…
Cancel
Save