Rename bokeh url

Server running: bokeh serve link.py --allow-websocket-origin foo:5006
I get access through: foo:5006/link
but I want to access this link: foo:5006/some_link. How to do this without renaming the file link.py ?

This is not possible using the bokeh command line application (the URL is always mapped to the module or directory name). You would need to embed the Bokeh server as a library in your own application. They you can pass a dict that maps endpoints to app handlers to the Server class explicitly.