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.
- apache/superset#1866 (comment)
- https://github.com/amancevice/docker-superset/blob/master/examples/postgres/docker-compose.yml
- https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/
- docker-compose up -d --build
- docker-compose down -v