Hi all,
I’m trying to run a bokeh (0.12.3) demo app in my docker container with nginx proxy.
The special thing I have, is that Nginx redirects calls from host/pXYZ to localhost:XYZ/
Nginx config
# proxy for general paths
# proxy url: http://reachable-host/p1234/any/resource
# internal url: http://127.0.0.1:1234/any/resource
location ~* /p(?<port>\d+)/((?<path>.*))?$ {
proxy_pass http://127.0.0.1:$port/$path;
}
``
My docker container serves on 192.168.99.100 and the nginx listens to port :8080
after starting the bokeh app
bokeh serve myapp.py --host 192.168.99.100:8080
``
I’m able to access it using the following URL: http://192.168.99.100:8080/p5006/myapp
but the page is empty and chrome console says: 404 GET http://192.168.99.100:8080/static/css/bokeh.min.css?v=882a547e86d77d573fefc67cb37bb345
Is there a possibility to add a prefix to the rendered resource links?

