Configuring Base URLs
  • 09 Aug 2022
  • 1 Minute to read
  • Dark
    Light

Configuring Base URLs

  • Dark
    Light

Base URLs are the consistent part of a web address for a site or web application. In Sisense running on Linux, the default address is the IP of the Sisense web server running on port 30845, http://{IP of web server}:30845, or if SSL was implemented directly on the Sisense app, it is the configured application_dns_name running on port 443, https://{application_dns_name}. 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 System Configuration Manager:

    Select Admin > System Configuration > System Management and click Configuration.

  2. Expand the Web Server drop-down.

  3. In Proxy URL, enter your base URL. For example:
    SysConfig_WebServer

  4. 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/sisense-grafana 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://10.20.30.40:30845$1;
  proxy_set_header X-Forwarded-For $remote_addr;

  proxy_set_header X-Forwarded-Proto $scheme;
  proxy_set_header Host $host;
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
}


Was this article helpful?