Rodja Trappe c4b5814288 ui.open(..) behind "reverse proxy with subpath" 2 роки тому
..
app c4b5814288 ui.open(..) behind "reverse proxy with subpath" 2 роки тому
README.md b93b883e4e code review 2 роки тому
docker-compose.yml c4b5814288 ui.open(..) behind "reverse proxy with subpath" 2 роки тому
nginx.conf 5d6945c343 cleanup, styling and fixing subpage link 2 роки тому

README.md

Serving an App Behind a Reverse Proxy Subpath

This demo shows how to serve NiceGUI on a subpath behind a reverse proxy. Here we use Nginx. For a Traeffic demo have a look at https://github.com/zauberzeug/nicegui/blob/main/docker-compose.yml.

Try Out

Just run

docker-compose up

Then you can access http://localhost/nicegui/. Note the trailing "/" in the URL. It is important. We welcome suggestions on how to make it optional.