Hostname

Overview

The hostname is required to match the stack outside FQDN name. It is mandatory for Keycloak and proxy to work properly as well as to serve HTTPS content by default.

Its value is used to generate self-signed HTTPS certificate for the front-end or to validate external certificate setup.

Configuring the hostname

The hostname is configured in a file named stack.cfg. This file must contain the configuration and contains the hostname key, which will be used as the system hostname.

Currently the stack.cfg can be used by :

  1. All web modules

  2. The Keycloak module

  3. The dispatcher module

A minimal configuration example (to be adapted if you are using more than one frontend, Keycloak or other stuff)

See the example

Warning

If you have multiples web modules, be sure all modules are using the stack.cfg (Add the module id to the moduleId list).

see Set certificate for details for using a certificate.