@@ -115,16 +115,6 @@ we recommend using another method, such as [Let's Encrypt](#let-encrypt) instead
115
115
116
116
### Port forwarding via code-server's built-in proxy
117
117
118
- code-server has a proxy built-in for port-forwarding. By default, ports running
119
- on the same machine as code-server can be accessed at
120
- {current_url}/proxy/{port}. For instance, if you have code-server running on
121
- localhost:8080 and a Python server running on localhost:8000, you could access
122
- it via http://localhost:8080/proxy/8000
123
-
124
- You can also override the URL scheme for the proxy using the ` VSCODE_PROXY_URI `
125
- environment variable. ` VSCODE_PROXY_URI=https://{{port}}.kyle.dev ` would forward
126
- an application running on localhost:3000 to https://3000.kyle.dev
127
-
128
118
### Using Let's Encrypt with Caddy
129
119
130
120
Using [ Let's Encrypt] ( https://letsencrypt.org ) is an option if you want to
@@ -313,6 +303,15 @@ If you're working on web services and want to access them locally, code-server
313
303
can proxy to any port using either a subdomain or a subpath, allowing you to
314
304
securely access these services using code-server's built-in authentication.
315
305
306
+ By default, ports running on the same machine as code-server can be accessed at
307
+ {current_url}/proxy/{port}. For instance, if you have code-server running on
308
+ localhost:8080 and a Python server running on localhost:8000, you could access
309
+ it via http://localhost:8080/proxy/8000
310
+
311
+ You can also override the URL scheme for the proxy using the ` VSCODE_PROXY_URI `
312
+ environment variable. ` VSCODE_PROXY_URI=https://{{port}}.kyle.dev ` would forward
313
+ an application running on localhost:3000 to https://3000.kyle.dev
314
+
316
315
### Using a subdomain
317
316
318
317
You will need a DNS entry that points to your server for each port you want to
0 commit comments