|
%!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
app | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
docker-compose.yml | %!s(int64=2) %!d(string=hai) anos | |
nginx.conf | %!s(int64=2) %!d(string=hai) anos |
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.
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.