Created
October 12, 2018 17:32
-
-
Save naz19/afa2d911d2d194350973512078c92349 to your computer and use it in GitHub Desktop.
NGINX configuration for Apache Superset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /superset/ { | |
proxy_pass http://localhost:8088/superset/; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
} | |
# required as superset has hardcoded base path urls | |
location /static/ { | |
proxy_pass http://localhost:8088/static/; | |
} | |
# to expose a specific dashboard using a custom url | |
# the below example will make dashboard 2 available in standalone mode | |
# on $host/dashboards/my-dashboard | |
location /dashboards/my-dashboard { | |
proxy_pass http://localhost:8088/superset/dashboard/2/?standalone=true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is it working ?