Skip to content

Server

Under the server config option the (http) server can be configured.

port

integer 7672 optional

The port config option is used to set the port at which LightHouse starts the webserver and listens for incoming requests. Will only be used if tls is not used. If tls is enabled port 443 will be used (and optionally port 80).

config.yaml
server:
    port: 4242

tls

Under the tls config option settings related to tls can be configured. It is unlikely that one enables tls since a reverse proxy will be used in most cases.

If tls is enabled port 443 will be used.

config.yaml
server:
    tls:
        enabled: true
        redirect_http: true
        cert: /path/to/cert
        key: /path/to/key

enabled

boolean true optional

If set to false tls will be disabled. Otherwise, it will automatically be enabled, if cert and key are set.

redirect_http

boolean true optional

The redirect_http option determines if port 80 should be redirected to port 443 or not.

cert

file path required for TLS

The cert option is set to the tls cert file.

key

file path required for TLS

The key option is set to the tls key file.