Configuring Base URLs
Applicable to Sisense on Linux and Microsoft Windows
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.
In Windows
In your browser open http://localhost:3030.
In Linux
Select Admin > System Management > Configuration Manager. - In Proxy URL, enter your base URL.
- Click Save to save your changes.
Note: If you have set a base URL in a Linux environment that is accessed through SSH, you cannot access Grafana through the Admin page until you update the URL of Grafana in your Linux CLI with the following command:
kubectl -n sisense set env deploy/grafana-sisense GF_SERVER_ROOT_URL=<Enter your Base URL here>/app/grafana
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://<ip>: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";
}
