Expose mautrix-telegram public endpoint through nginx

It used to allow user to logging with their own account to the bot
see: https://github.com/tulir/mautrix-telegram/wiki/Authentication#replacing-telegram-accounts-matrix-puppet-with-matrix-account
for more informations
This commit is contained in:
Hugues Morisset
2018-10-21 23:20:37 +02:00
parent c7188e06f9
commit 83a17f8439
3 changed files with 20 additions and 6 deletions

View File

@ -239,6 +239,9 @@ matrix_mautrix_telegram_enabled: false
# Get your own API keys at https://my.telegram.org/apps
matrix_mautrix_telegram_api_id: YOUR_TELEGRAM_APP_ID
matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH
# Mautrix telegram public endpoint to log in to telegram
# Use an uuid so it's not easily discoverable
matrix_mautrix_telegram_public_endpoint: "/{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'telegram') | to_uuid }}"
# By default, this playbook sets up its own nginx proxy server on port 80/443.