Skip to content

Commit 5725b41

Browse files
authored
Merge pull request #117 from manics/arbitrary-ports-abs
Add /proxy/absolute/<port> to arbitrary-ports.rst
2 parents a150b04 + 9daac22 commit 5725b41

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/arbitrary-ports.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ Accessing Arbitrary Ports
66

77
If you already have a server running on localhost listening on
88
a port, you can access it through the notebook at
9-
``<notebook-base>/proxy/<port>``. This works for all ports listening
10-
on the local machine.
9+
``<notebook-base>/proxy/<port>``.
10+
The URL will be rewritten to remove the above prefix.
11+
12+
You can disable URL rewriting by using
13+
``<notebook-base>/proxy/absolute/<port>`` so your server will receive the full
14+
URL in the request.
15+
16+
This works for all ports listening on the local machine.
1117

1218
With JupyterHub
1319
===============

0 commit comments

Comments
 (0)