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:

  1. Open the Configuration Manager.
    In Windows
    In your browser open http://localhost:3030.
    In Linux
    Select AdminSystem Management Configuration Manager.
  2. In Proxy URL, enter your base URL.
  3. 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";
}