# Overriding external endpoints

Some features, such as the Server-side Editor API, documentation, management panel, or Easy Image, need to recognize the public endpoint where CKEditor Collaboration Server On-Premises is available.

By default, it is determined based on the `HOST` header. To recognize the protocol, the `X-FORWARDED-PROTO` header is used (if the header does not exist, the default protocol is `HTTP`).

Sometimes you may want to set this endpoint manually, for example when `HOST` is overridden by a load balancer or `X-FORWARDED-PROTO` is not provided.

In such cases, you can use the `APPLICATION_EXTERNAL_ENDPOINT` configuration. It should contain the schema (protocol) and host, for example:

```bash
APPLICATION_EXTERNAL_ENDPOINT=https://example.domain
```

Setting this value is required when using the [Server-side Editor API](../../features/sse-api.md) feature with an [external Collaboration Worker](collaboration.md).

---

Full index of the Cloud Services documentation: [llms.txt](../../../../../llms.txt)
