Sign up (with export icon)

Overriding external endpoints

Show the table of contents

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:

APPLICATION_EXTERNAL_ENDPOINT=https://example.domain
Copy code

Setting this value is required when using the Server-side Editor API feature with an external Collaboration Worker.