Skip to content

Commit c641d63

Browse files
committed
Format
1 parent e863b30 commit c641d63

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/admin/workspaceproxies.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44
55
Workspace Proxies are a feature to provide low latency experiences for geo-distributed teams.
66

7-
Coder's networking does a best effort to make direct connections to a workspace. In situtions where this is not possible, such as [dashboard connections](../networking/README.md#dashboard-connections), workspace proxies are able to reduce the amount of distance the network traffic needs to travel.
7+
Coder's networking does a best effort to make direct connections to a workspace. In situtions where this is not possible, such as [dashboard connections](../networking/README.md#dashboard-connections), workspace proxies are able to reduce the amount of distance the network traffic needs to travel.
88

99
A workspace proxy is a relay connection a developer can choose to use when connecting with their workspace over ssh, a workspace app, port forwarding, etc.
1010

1111
<!-- TODO: Might want to modify this diagram? -->
12+
1213
![ProxyDiagram](../images/workspaceproxy/proxydiagram.png)
1314

1415
# Deploy a workspace proxy
1516

16-
Each workspace proxy should be a unique instance. At no point should 2 workspace proxy instances share the same authentication token.
17+
Each workspace proxy should be a unique instance. At no point should 2 workspace proxy instances share the same authentication token.
1718

1819
Workspace proxies can be used in the browser by navigating to the user `Account -> Workspace Proxy`
1920

@@ -35,7 +36,7 @@ To verify it was created.
3536

3637
```bash
3738
$ coder proxy ls
38-
NAME URL STATUS STATUS
39+
NAME URL STATUS STATUS
3940
newyork unregistered
4041
```
4142

@@ -45,13 +46,14 @@ Deploying the workspace proxy will also register the proxy with coderd and make
4546

4647
```
4748
$ coder proxy lsPM
48-
NAME URL STATUS STATUS
49-
brazil-saopaulo https://brazil.example.com ok
50-
europe-frankfurt https://europe.example.com ok
49+
NAME URL STATUS STATUS
50+
brazil-saopaulo https://brazil.example.com ok
51+
europe-frankfurt https://europe.example.com ok
5152
sydney https://sydney.example.com ok
5253
```
5354

5455
Other Status codes:
56+
5557
- `unregistered` : The workspace proxy was created, and not yet deployed
5658
- `unreachable` : The workspace proxy was registered, but is not responding. Likely the proxy went offline.
5759
- `unhealthy` : The workspace proxy is reachable, but has some issue that is preventing the proxy from being used. `coder proxy ls` should show the error message.
@@ -63,6 +65,7 @@ Other Status codes:
6365
I am not sure the best way to present this.
6466
Ideally in the future we can auto sync some of the settings with coderd.
6567
-->
68+
6669
Workspace proxy configuration overlaps with a subset of the coderd configuration. To see the full list of configuration options: `coder proxy server --help`
6770

6871
```bash
@@ -97,4 +100,3 @@ coder proxy server
97100
```
98101

99102
<!-- Additional run options? -->
100-

0 commit comments

Comments
 (0)