mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
* feat(docs): move docs-experimental content into monorepo docs/ * Remove plan related files and comments * Cleanup comments, remove generated files --------- Co-authored-by: Hanzo Dev <[email protected]>
35 lines
2.6 KiB
Plaintext
35 lines
2.6 KiB
Plaintext
---
|
|
title: "(Optional) Use an Image proxy"
|
|
---
|
|
<PlanAvailability slug="all-commercial" />
|
|
|
|
When enabled, the image proxy needs to be publicly accessible to both the Mattermost client and server.
|
|
|
|
Mattermost clients will use the image proxy to load all external images. The Mattermost server will use the image proxy when possible, but will not use it when requesting content that may not be an image, such as for [image previews of plaintext URLs](https://github.com/mattermost/mattermost/issues/11857).
|
|
|
|
Configure an image proxy by going to **System Console \> Environment \> Image Proxy**.
|
|
|
|
## Local image proxy
|
|
|
|
The local image proxy is available as part of the Mattermost server deployment. When using the local image proxy, images are served to clients through the server which helps anonymize users. If SSL is enabled on the server, it provides a secure connection. This method does not offer any caching behavior.
|
|
|
|
<Note>
|
|
|
|
With the local image proxy enabled, requests for images hosted on the local network are now affected by the `AllowUntrustedInternalConnections` setting. See [documentation](/administration-guide/configure/environment-configuration-settings#allow-untrusted-internal-connections) for more information or if you are seeing unintentionally blocked images.
|
|
|
|
</Note>
|
|
|
|
## atmos/camo image proxy
|
|
|
|
The [atmos/camo](https://github.com/atmos/camo) image proxy is a standalone image proxy that can be deployed separately from the Mattermost server. It provides additional configuration options over the built-in image proxy, and it can also be used if isolation between the Mattermost server and image proxy is desired.
|
|
|
|
Once you've deployed an `atmos/camo` ([https://github.com/atmos/camo](https://github.com/atmos/camo)) instance, you must specify the **Remote Image Proxy URL** and **Remote Image Proxy Options** settings. The **Remote Image Proxy Options** should be set to the image proxy's shared key which is specified with the `CAMO_KEY` environment variable used when setting up the image proxy.
|
|
|
|
For example, if the image proxy is located at `https://image-proxy.mattermost.com`, it would be configured as follows:
|
|
|
|
> - **Image Proxy Type**: `atmos/camo`
|
|
> - **Remote Image Proxy URL**: `https://image-proxy.mattermost.com`
|
|
> - **Remote Image Proxy Options**: `CAMO_KEY`, which is the secret string used for the sample `atmos/camo` deployment.
|
|
|
|

|