diff --git a/mautrix_telegram/config.py b/mautrix_telegram/config.py index 904f3a43..d9a24a2f 100644 --- a/mautrix_telegram/config.py +++ b/mautrix_telegram/config.py @@ -57,6 +57,9 @@ class Config(BaseBridgeConfig): base["appservice.address"] = f"{protocol}://{hostname}:{port}" else: copy("appservice.address") + + copy("appservice.tls_cert") + copy("appservice.tls_key") copy("appservice.hostname") copy("appservice.port") copy("appservice.max_body_size") diff --git a/mautrix_telegram/example-config.yaml b/mautrix_telegram/example-config.yaml index 794f6d6e..70bc1111 100644 --- a/mautrix_telegram/example-config.yaml +++ b/mautrix_telegram/example-config.yaml @@ -13,6 +13,9 @@ homeserver: appservice: # The address that the homeserver can use to connect to this appservice. address: http://localhost:29317 + # When using https:// the TLS certificate and key files for the address. + tls_cert: false + tls_key: false # The hostname and port where this appservice should listen. hostname: 0.0.0.0