Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: fix proxy cmd ref#7460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ericpaulsen merged 1 commit intomainfromfix-proxy-docs
May 8, 2023
Merged
Show file tree
Hide file tree
Changes fromall 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
14 changes: 7 additions & 7 deletionsdocs/admin/workspace-proxies.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,25 +25,25 @@ Workspace proxies can be used in the browser by navigating to the user `Account
Create the workspace proxy and make sure to save the returned authentication token for said proxy. This is the token the workspace proxy will use to authenticate back to primary coderd.

```bash
$ coderproxy create --name=newyork --display-name="USA East" --icon="/emojis/2194.png"
$ coderwsproxy create --name=newyork --display-name="USA East" --icon="/emojis/2194.png"
Workspace Proxy "newyork" created successfully. Save this token, it will not be shown again.
Token: 2fb6500b-bb47-4783-a0db-dedde895b865:05271b4ef9432bac14c02b3c56b5a2d7f05453718a1f85ba7e772c0a096c7175
```

To verify it was created.

```bash
$ coderproxy ls
$ coderwsproxy ls
NAME URL STATUS STATUS
newyork unregistered
```

## Step 2: Deploy the proxy

Deploying the workspace proxy will also register the proxy with coderd and make the workspace proxy usable. If the proxy deployment is successful, `coderproxy ls` will show an `ok` status code:
Deploying the workspace proxy will also register the proxy with coderd and make the workspace proxy usable. If the proxy deployment is successful, `coderwsproxy ls` will show an `ok` status code:

```
$ coderproxy ls
$ coderwsproxy ls
NAME URL STATUS STATUS
brazil-saopaulo https://brazil.example.com ok
europe-frankfurt https://europe.example.com ok
Expand All@@ -54,12 +54,12 @@ Other Status codes:

- `unregistered` : The workspace proxy was created, and not yet deployed
- `unreachable` : The workspace proxy was registered, but is not responding. Likely the proxy went offline.
- `unhealthy` : The workspace proxy is reachable, but has some issue that is preventing the proxy from being used. `coderproxy ls` should show the error message.
- `unhealthy` : The workspace proxy is reachable, but has some issue that is preventing the proxy from being used. `coderwsproxy ls` should show the error message.
- `ok` : The workspace proxy is healthy and working properly!

### Configuration

Workspace proxy configuration overlaps with a subset of the coderd configuration. To see the full list of configuration options: `coderproxy server --help`
Workspace proxy configuration overlaps with a subset of the coderd configuration. To see the full list of configuration options: `coderwsproxy server --help`

```bash
# Proxy specific configuration. These are REQUIRED
Expand DownExpand Up@@ -87,7 +87,7 @@ CODER_TLS_KEY_FILE="<key_file_location>"

```bash
# Set configuration options via environment variables, a config file, or cmd flags
coderproxy server
coderwsproxy server
```

### Selecting a proxy
Expand Down
2 changes: 1 addition & 1 deletionhelm/values.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,7 @@ coder:
#
# Make sure you set CODER_PRIMARY_ACCESS_URL and CODER_PROXY_SESSION_TOKEN in
# the environment below. You can get a proxy token using the CLI:
# coderproxy create \
# coderwsproxy create \
# --name "proxy-name" \
# --display-name "Proxy Name" \
# --icon "/emojis/xyz.png"
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp