Configuring Base URLs
Base URLs are the consistent part of a web address for a site or web application. In Sisense, the default address is localhost:8081. Sisense allows you to specify a Sisense hostname as a subfolder of a domain, for example, baseurl.sisense.com/reporting.
The result is that if your users would be accessing the Pulse page for example, instead of the default baseurl.sisense.com/pulse, they would see the URL baseurl.sisense.com/reporting/pulse.
To implement base URLs in Sisense, you need to direct your users to a reverse proxy that is configured to redirect the users to the appropriate base URL that you define in Sisense.
The implementation of a reverse proxy is done on your side.
To configure a new base URL in Sisense:
-
Open the Configuration Manager via your browser at http://localhost:3030.
-
In Proxy URL, enter your base URL.
-
Click Save to save your changes.
Note:
If you use a reverse proxy with your Base URL in Sisense you may not be able to access some pages in Sisense. To work around this, add a double slash to the end of your URL with $1, for example:
location ~/reporting(/.*)$ {
proxy_pass http://:30845$1;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
.r.