The vhost.conf.json file indicates the domain name used to reach the portal. It is used within the server, especially for emails containing access URLs to Fluid Topics (user account activation email, and so on) and for customer users database integration. When the Fluid Topics tenant is accessible through multiple domains, the main domain must be set in the vhost.conf.json file.
Fluid Topics needs to know the tenant URL.
To set the tenant URL:
- Create the following file:
As antidot user
- Add the following lines:
- $DOMAIN_NAME is the URL where the tenant portal can be accessed. It can be a server hostname (the server hosting the front environment), a server IP or a dedicated URL.
- $CERTIFICATE.CERT is the absolute path to the complete "certificate.cert" (CA_BUNDLE) file to be used. The "certFile" parameter is optional.
- $BACK_OFFICE_URL is the dedicated URL where the Back Office can be accessed. For example: http://fluidtopics-bo.com. The URL entered here is mandatory and will be used for various queries between the Back Office and Fluid Topics user interface. Its default value is: http://localhost/bo-portal
The tenant domain name is the responsibility of the customer.
In our example, the vhost.conf.json file is as follows:
The documentation for all the parameters of doc.antidot.net configuration file can be consulted at doc.antidot.net/configuration-doc