correctly name certs

This commit is contained in:
Sebastian Hugentobler 2018-05-23 18:40:52 +02:00
parent f978b23d19
commit f6f3e4daf7
2 changed files with 5 additions and 11 deletions

View File

@ -42,15 +42,8 @@ Database user.
## DB_PASSWORD ## DB_PASSWORD
Password for the database user. Password for the database user.
## CERT_NAME ## CERT_DOMAIN
- default: fullchain.pem Name of the certificate domain.
Name of the certificate file.
## KEY_NAME
- default: privkey.pem
Name of the key file.
## MAX_UPLOAD_SIZE ## MAX_UPLOAD_SIZE
- default: 10M - default: 10M

View File

@ -1,5 +1,6 @@
tls_certificate_path: "/etc/ssl/matrix-synapse/{{getenv "CERT_NAME" "fullchain.pem"}}" tls_certificate_path: "/etc/ssl/matrix-synapse/{{getenv "CERT_DOMAIN"}}.crt"
tls_private_key_path: "/etc/ssl/matrix-synapse/{{getenv "KEY_NAME" "privkey.pem"}}" tls_private_key_path: "/etc/ssl/matrix-synapse/{{getenv "CERT_DOMAIN"}}.key"
tls_dh_params_path: "/var/lib/matrix-synapse/signing/dhparams.pem" tls_dh_params_path: "/var/lib/matrix-synapse/signing/dhparams.pem"
no_tls: False no_tls: False