Skip to content

I don't understand how root_url is supposed to work #1084

Discussion options

You must be logged in to vote

I think you are looking at this the other way around:

Pluto is designed to work on any base URL, we make sure that all URLs are relative (asset imports, websocket, redirects, links, etc). This means that if you have an nginx proxy set up to serve pluto at, say runner.cocalc.com/ba9c94/port/pluto/, then you can just go to that address and everything will work.

The root_url setting does not change the server configuration, it only affects the message printed to the terminal, which is probably not relevant to you. When the project started, we needed to specify the root_url on custom proxies, just like with Jupyter, but we have found some tricks to avoid it altogether: you do not need to set …

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@lahvak
Comment options

@lahvak
Comment options

Comment options

You must be logged in to vote
3 replies
@lahvak
Comment options

@williamstein
Comment options

@fonsp
Comment options

Answer selected by fonsp
Comment options

You must be logged in to vote
4 replies
@lahvak
Comment options

@fonsp
Comment options

@fonsp
Comment options

@williamstein
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1082 on April 12, 2021 11:51.