Getting started

The extensions server can run in 2 ways:

  • [Recommended] Via configuration (config.yml) file that’s on the same machine,

  • Or with command-line arguments.

Because the extension server is cross platform there are multiple binaries with different file extensions.

  • Windows: extension-name.exe

  • Linux: extension-name

Example of a configuration file config.yml:

—
## This configuration file will be used for building as well.
## Configuration will be merged into the options/arguments list.
## In production there will be a more stripped version
server:
## Host includes port if necessary. Do not include when running on :80 or :443
## example: extension.company.com
host: localhost:8000
## Set custom base path for the extension on a domain “custom-extension” e.g.
## localhost:8080/custom-extension/
base: /
## Enable HTTPS for the webserver can be done here
## In case you want to use the .pfx certificate
## uncomment the `key` and `cert` property, using #
https:
# key: ../ssl/localhost.key
## or localhost.cert
# cert: ../ssl/localhost.crt
## or when on windows and want to use a .pfx file
# pfx: ../ssl/localhost.pfx
# passphrase: some-passphrase
## Change the license configuration
license:
## When not set, it will check for a `license.lic` or `LICENSE` file and
## load license in the current directory.
Example in current folder:
# file: ./license.lic
Example in different folder:
# file: ../enterprise_licenses/license.lic

Running with a reversed proxy?

To run behind a reversed proxy use the local domain as host. To generate a correct trex file, it is important that you configure the public facing URL as host in theconfig.yaml file under a trex section:

All options for using the extension server in command-line mode, without config:

Please note that this example can change in upcoming versions.

Choose your installation guide

Last updated