Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 9636:fa35724dbdba 0.11
prosody.cfg.lua.dist: Add https_certificate option
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 18 Nov 2018 14:57:29 +0000 |
parent | 9593:6e1379473c3c |
child | 9637:b8301ba2c437 |
comparison
equal
deleted
inserted
replaced
9634:f457edaab510 | 9636:fa35724dbdba |
---|---|
181 -- (from e.g. Let's Encrypt) see https://prosody.im/doc/certificates | 181 -- (from e.g. Let's Encrypt) see https://prosody.im/doc/certificates |
182 | 182 |
183 -- Location of directory to find certificates in (relative to main config file): | 183 -- Location of directory to find certificates in (relative to main config file): |
184 certificates = "certs" | 184 certificates = "certs" |
185 | 185 |
186 -- HTTPS currently only supports a single certificate, specify it here: | |
187 --https_certificate = "certs/localhost.crt" | |
188 | |
186 ----------- Virtual hosts ----------- | 189 ----------- Virtual hosts ----------- |
187 -- You need to add a VirtualHost entry for each domain you wish Prosody to serve. | 190 -- You need to add a VirtualHost entry for each domain you wish Prosody to serve. |
188 -- Settings under each VirtualHost entry apply *only* to that host. | 191 -- Settings under each VirtualHost entry apply *only* to that host. |
189 | 192 |
190 VirtualHost "localhost" | 193 VirtualHost "localhost" |