I have seen a few threads adding support for base_urls in redash but they involved using nginx or apache to rewrite and proxy (seems unstable and prone to error). I opted to modify app.py and add the prefix in manually and am getting a route error: “It seems like the page you’re looking for cannot be found.” when navigating to redash using the prefix.
from werkzeug.routing import Rule
app.url_rule_class = lambda path, **options: Rule("/redash-prefix" + path, **options)
Technical details:
- Redash Version: 9.0.0-beta
- OS: Ubuntu Server 20.04
- How did you install Redash: https://redash.io/help/open-source/dev-guide/setup
- NPM: 6.14.8
- Node: v12.20.0
- Python: 3.8.5