/
Desktop Properties

Desktop Properties

This section describes the properties related to the Desktop that you can set in the STR. 

A subset of the properties below are explicitly set in the file default.conf during installation. This file must not be updated. If you want to set or override properties, you should update client.conf instead.

Properties

ui.webserver.port

Default value: 9001

This property can be used to set the port used by the webserver.

ui.webserver.host

Default value: 0.0.0.0

This property can be used to control which host/IP that the server should bind on. For example if you have multiple network interfaces on the server, you can choose to just open the desktop on one of them.

ui.webserver.strict.host.validation

Default value: false

Add this property and set it to true if you want to enable string host validation in the desktop webserver. If this is enabled, all HTTP requests will be rejected if they have a Host header that does not match a known address of the desktop server. Ie a name or address resolving to the server or a name declared in the ui.webserver.valid.hosts property

ui.webserver.valid.hosts

This optional property is a comma-separated list of host names. If set, any hostname in the list will be considered valid when strict host validation has been enabled through the ui.webserver.strict.host.validation property.

ui.webserver.invalid.hosts

This optional property is a comma-separated list of host names. If set, any hostname specified will always fail validation when strict host validation has been enabled through the ui.webserver.strict.host.validation property.