Skip to content

How do I set up Redash server behind an nginx with path? #6319

Closed Answered by anemology
eladitzhakian asked this question in Q&A
Discussion options

You must be logged in to vote

Hope this can help, should work with SAML/LDAP login too. We are using SAML login and it's running for a while, no Redash code change needed.

Frontend use NGINX's sub_filter to replace / to /redash.
Backend use SCRIPT_NAME header let WSGI to prepend /redash when processing requests.

Redash version: v10.1.0, Docker Tag: redash/redash:10.1.0.b50633
NGINX version: nginx:1.23.2-alpine

upstream redash_server {
    server 127.0.0.1:5000;
}

server {
    listen      443           ssl http2 default_server;
    listen [::]:443           ssl http2 default_server;

    access_log                /dev/stdout;
    error_log                 /dev/stderr info;

    include /etc/nginx/ssl.conf;

    location 

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@justinclift
Comment options

@eladitzhakian
Comment options

Comment options

You must be logged in to vote
5 replies
@aejazm
Comment options

@eladitzhakian
Comment options

@justinclift
Comment options

@eladitzhakian
Comment options

@justinclift
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@rajnathsah
Comment options

@anemology
Comment options

@rajnathsah
Comment options

Answer selected by guidopetri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants