Set URL base path

Issue Summary

How can I setup base path? Something like http://server:5000/redash?
Didn’t find something like that in Environment Variables Settings: https://redash.io/help/open-source/admin-guide/env-vars-settings

Technical details:

  • Redash Version: redash/redash:latest
  • Browser/OS: RHEL
  • How did you install Redash: Docker
2 Likes

Have a look at this thread: Hosting redash not under root
For me, this solution (with nginx’s sub_filters) solved this problem, icons for datasource, settings and search works for me as well.

1 Like

Excellent link @sVerentsov! The only other option here is to modify Redash’s source code to include some Werkzeug middleware as described on this SO post. It’s generally much easier to rewrite all this stuff at the server-level, however.