Rodja Trappe a4fe698876 #556 using latest image in demo %!s(int64=2) %!d(string=hai) anos
..
app 374afca836 #556 introduce custom link component to use path prefix %!s(int64=2) %!d(string=hai) anos
README.md f21e3873dc #439 use terms "example" and "demo" more consistently %!s(int64=2) %!d(string=hai) anos
docker-compose.yml a4fe698876 #556 using latest image in demo %!s(int64=2) %!d(string=hai) anos
nginx.conf 5d6945c343 cleanup, styling and fixing subpage link %!s(int64=2) %!d(string=hai) anos

README.md

Serving an App Behind a Reverse Proxy Subpath

This example shows how to serve NiceGUI on a subpath behind a reverse proxy. Here we use Nginx. For a Traeffic example 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.