Create an application.conf for the Tiny Editors Services
Create a configuration file to define the settings for the Tiny Editors Services.
-
Using a text editor, create a new file named application.conf under the following directory:
Path Operating System /opt/ephox/application.conf On Unix or Linux C:\opt\ephox\application.conf On Windows: where C is the boot drive for your system. Note: Use a plain text editor to avoid inserting invalid formatting or symbols into application.conf. Do not use a rich text editor such as Microsoft Word for editing configuration files.
-
Add the
ephox.allowed-origins.origins
setting.Attention: The
ephox.allowed-origins.origins
setting is required. It must list all in-use names ("protocol://host:port"
) for the HCL Connections™ server to allow the Tiny Editors to access the services without returning Cross-Origin Resource Sharing (CORS) errors.ephox { allowed-origins { origins = [ "http://connections.example.com", "https://connections.example.com", "http://connections.example.com:9081", "https://connections.example.com:9444" ] } }
See also Sample application.conf
-
Add application.conf settings required for Link-checking and Media-embed.
-
Save the configuration to application.conf.
-
If the services have been deployed, stop and restart TinyEditorsServices to apply the configuration changes.
Parent topic:Configuring the application.conf for the Tiny Editors Services
Related information
Tiny Editor Services configuration