From bb3e02c4d92e8b0113253a59e7fb938ff0aeb099 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 4 May 2025 01:09:52 +0300 Subject: Update mautrix-go for optional federation auth --- giphyproxy/example-config.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'giphyproxy/example-config.yaml') diff --git a/giphyproxy/example-config.yaml b/giphyproxy/example-config.yaml index 0d7e226..62174af 100644 --- a/giphyproxy/example-config.yaml +++ b/giphyproxy/example-config.yaml @@ -4,12 +4,13 @@ server_name: giphy.example.com # Optionally a custom .well-known response. This defaults to `server_name:443` if empty. well_known_response: -# The proxy will use MSC3860/MSC3916 media download redirects if the requester supports it. -# Optionally, you can force redirects and not allow proxying at all by setting this to false. -allow_proxy: false # Matrix server signing key to make the federation tester pass, same format as synapse's .signing.key file. # You can generate one using `giphyproxy -generate-key`. server_key: CHANGE ME +# Should federation authentication be enforced? +# If true, requests to the /_matrix/federation/v1/media/download/... endpoint +# will check the Authorization: X-Matrix header before redirecting. +federation_auth: false # Hostname where the proxy should listen on hostname: 0.0.0.0 -- cgit v1.2.3