diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-03-19 15:39:41 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-03-19 15:51:55 +0000 |
| commit | bfed2e1bf5cfb250e17e91566546b38b4b9a34d8 (patch) | |
| tree | ecf5ba2049ae1752cff533e060d2dce50983c04e /data/modules.example.conf | |
| parent | e488f294a116224d8c7f89c6c4ebad2356ba7814 (diff) | |
Use paths relative to data/conf in the config file.
This was done in some places already but not consistently.
Closes #349.
Diffstat (limited to 'data/modules.example.conf')
| -rw-r--r-- | data/modules.example.conf | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf index 4089e9ea2..f1818e0e2 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -580,7 +580,8 @@ module { name = "sasl" } name = "ssl_gnutls" /* - * An optional certificate and key for ssl_gnutls to give to the uplink. + * An optional certificate and key for ssl_gnutls to give to the uplink. All + * paths are relative to the config directory. * * You can generate your own certificate and key pair by using: * @@ -588,8 +589,8 @@ module { name = "sasl" } * certtool --generate-self-signed --load-privkey privkey.pem --outfile fullchain.pem * */ - cert = "data/fullchain.pem" - key = "data/privkey.pem" + cert = "fullchain.pem" + key = "privkey.pem" /* * Diffie-Hellman parameters to use when acting as a server. This is only @@ -602,7 +603,7 @@ module { name = "sasl" } * certtool --generate-dh-params --bits 2048 --outfile dhparams.pem * */ -# dhparams = "data/dhparams.pem" + #dhparams = "dhparams.pem" } /* @@ -620,14 +621,15 @@ module { name = "sasl" } /* * An optional certificate and key for ssl_openssl to give to the uplink. + * All paths are relative to the config directory. * * You can generate your own certificate and key pair by using: * * openssl genrsa -out privkey.pem 2048 * openssl req -new -x509 -key privkey.pem -out fullchain.pem -days 1095 */ - cert = "data/fullchain.pem" - key = "data/privkey.pem" + cert = "fullchain.pem" + key = "privkey.pem" /* * If you wish to increase security you can disable support for older |
