Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/source/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,18 @@ projects on GitHub, such as:

Projects can also add the `jupyter-server-proxy` topic to the GitHub repository to make it more discoverable:
[https://github.com/topics/jupyter-server-proxy](https://github.com/topics/jupyter-server-proxy)

# Test the proxy setup

If you just want to test if the proxy config is correct you can put the following into `$HOME/.jupyter/jupyter_server_config.py`:
```python
import sys
c.ServerProxy.servers.update({
"pythonweb": {
"command": [sys.executable, "-m", "http.server", "{port}"],
"port": 9081,
"absolute_url": False
}
})
```
You should then get a new button in the launcher. Putting it into `/etc/jupyter/` will make it available to all users.