GithubHelp home page GithubHelp logo

komoot / superset-reverse-nginx-example Goto Github PK

View Code? Open in Web Editor NEW
44.0 8.0 13.0 3 KB

a small working example of using superset with a base url using nginx' reverse proxy

Dockerfile 20.59% Python 79.41%
superset gunicorn nginx nginx-proxy docker-compose

superset-reverse-nginx-example's Introduction

This is a working example based on various sources to have superset running behind a base url using nginx.

It is a common requirement to have superset running under a base url, (https://mydomain.at/analytics/ instead of https://mydomain.at/). There had been multiple issues and discussions around it (1 2 3 4). Still it was not crystal clear how to put all elements together. To save some time for others, we compiled a working example in this repository.

Resources

How to run

  • docker-compose up -d --build
  • docker-compose down -v

superset-reverse-nginx-example's People

Contributors

christophlingg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

superset-reverse-nginx-example's Issues

Different port than port 80 for reverse-proxy server .

Hey, So I am trying to host superset behind a proxy server running on port 8080. However, redirects by the reverse proxy are just ip rather than being ip:port.

Example: Suppose the IP of the server is 192.168.43.23 and reverse proxy is hosted on port 8080. I opened an incognito window and tried to open http://192.168.43.23:8080/analytics/superset/welcome. Then the login redirect goes to http://192.168.43.23/analytics/login/ instead of going to http://192.168.43.23:8080/analytics/login/.

Same thing happens if I use curl or wget.

How do I resolve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.