The site configuration section defines the web URL to the base of the Loupe Server API. If not specified, the Loupe Server can't send links in notifications or instructions for how to connect the Loupe Agent to the server. The following options can be specified:
Option | Description | Default Value | Required |
---|---|---|---|
enabled | Disables the web UI when false. | "" | true |
useSsl |
Indicates if the connection can be encrypted with Ssl. When set all login and user profile functions will be done with Ssl. |
"" | false |
requireSsl |
Indicates if the connection must be encrypted with Ssl. When set and useSsl is also set all data traffic with the server will be done with Ssl. |
"" | false |
hostName | The full DNS name of the server where the web site is located | "" | true |
port | An optional port number override for the web site. Not required if the port is the traditional port (80 or 443). | 0 | false |
applicationBaseDirectory | The virtual directory on the host for the web site, typically empty | "" | false |
The Server.Config file is an XML formatted file with a section for email.
Server.Config |
Copy Code
|
---|---|
<?xml version="1.0" encoding="utf-8"?> <gibraltar> <site hostName="your.loupe.server" /> </gibraltar> |
To set the configuration through environment variables (like for hosting in an Azure App Service), the configuration items use the format:
Loupe__Server__Site__{Option}
For example, to set the hostname (the only required property) use Loupe__Server__Site__HostName