Desktop Properties (5.0)

Desktop Properties (5.0)

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

Properties

mz.httpd.security.redirect

Default value: false

If TLS is enabled and this property is set to true, any attempt to access the webserver using HTTP will cause a redirect to HTTPS. The default behavior is just to return an error.

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.