config: add support for using a proxy

This commit is contained in:
Tulir Asokan
2024-11-29 19:26:47 +02:00
parent b330c5836e
commit 8b61dc5352
6 changed files with 25 additions and 6 deletions

View File

@@ -168,6 +168,8 @@ bridge:
# like the official client does? The other option is sending the media in the message send request as a form part
# (which is always used by bots and webhooks).
use_discord_cdn_upload: true
# Proxy for Discord connections
proxy:
# Should mxc uris copied from Discord be cached?
# This can be `never` to never cache, `unencrypted` to only cache unencrypted mxc uris, or `always` to cache everything.
# If you have a media repo that generates non-unique mxc uris, you should set this to never.