未验证 提交 e68d72c4 编写于 作者: A Asher

Add documentation for proxying

上级 737a8f59
......@@ -65,6 +65,26 @@ only to HTTP requests.
You can use [Let's Encrypt](https://letsencrypt.org/) to get an SSL certificate
for free.
## How do I access web services?
code-server is capable of proxying to any port using either a subdomain or a
subpath.
### Sub-domains
Set up a wildcard certificate for your domain and a wildcard DNS entry (or you
can configure each subdomain individually for the ports you expect to use).
Start code-server with the `--proxy-domain` flag set to your domain.
```
code-server --proxy-domain coder.com
```
Now you can browse to `<port>.coder.com`. Note that this uses the host header so
ensure your reverse proxy forwards that information if you are using one.
### Sub-paths
Just browse to `/proxy/<port>`.
## x86 releases?
node has dropped support for x86 and so we decided to as well. See
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册