diff options
| author | Tulir Asokan <tulir@maunium.net> | 2024-06-19 11:47:35 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2024-06-19 11:51:29 +0300 |
| commit | 5da539ad8409b8902effb59a04d061516e236761 (patch) | |
| tree | 42d5a9a3d10f7affbe4efbdd8dd9f5998f353ba5 /giphyproxy/example-config.yaml | |
| parent | 6332613e13dd6378b58f8cf557419c127bb2ab1d (diff) | |
Add MSC3916-compatible giphy media repo proxy
Diffstat (limited to 'giphyproxy/example-config.yaml')
| -rw-r--r-- | giphyproxy/example-config.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/giphyproxy/example-config.yaml b/giphyproxy/example-config.yaml new file mode 100644 index 0000000..3bed981 --- /dev/null +++ b/giphyproxy/example-config.yaml @@ -0,0 +1,17 @@ +# The server name to use for the custom mxc:// URIs. +# This server name will effectively be a real Matrix server, it just won't implement anything other than media. +# You must either set up .well-known delegation from this domain to this program, or proxy the domain directly to this program. +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 + +# Hostname where the proxy should listen on +hostname: 0.0.0.0 +# Port where the proxy should listen on +port: 8008 |
