You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.0 KiB

  1. # The server name to use for the custom mxc:// URIs.
  2. # This server name will effectively be a real Matrix server, it just won't implement anything other than media.
  3. # You must either set up .well-known delegation from this domain to this program, or proxy the domain directly to this program.
  4. server_name: giphy.example.com
  5. # Optionally a custom .well-known response. This defaults to `server_name:443` if empty.
  6. well_known_response:
  7. # The proxy will use MSC3860/MSC3916 media download redirects if the requester supports it.
  8. # Optionally, you can force redirects and not allow proxying at all by setting this to false.
  9. allow_proxy: false
  10. # Matrix server signing key to make the federation tester pass, same format as synapse's .signing.key file.
  11. # You can generate one using `giphyproxy -generate-key`.
  12. server_key: CHANGE ME
  13. # Hostname where the proxy should listen on
  14. hostname: 0.0.0.0
  15. # Port where the proxy should listen on
  16. port: 8008
  17. # Redirect destination. This can be changed to serve a different format.
  18. destination: https://i.giphy.com/%s.webp