Skip to content
Merged
Changes from all 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
12 changes: 6 additions & 6 deletions docs/reference/https/cloudflare-tunnel.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The simplest path. Everything configured through the Cloudflare dashboard.

### 1. Create the tunnel

1. Go to [**Zero Trust → Networks → Tunnels**](https://one.dash.cloudflare.com/networks/tunnels)
1. Go to [**Zero Trust → Networks → Connectors**](https://dash.cloudflare.com/?to=/:account/one/networks/connectors)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://one.dash.cloudflare.com/networks/tunnels redirects to https://dash.cloudflare.com/one/networks/tunnels, which is a broken link.

https://dash.cloudflare.com/?to=/:account/one/networks/connectors is a smart link that redirects to the dashboard in the user's current account and to the new path where tunnels have been moved to under Connectors.

2. Click **Create a tunnel** → select **Cloudflared**
3. Name it (e.g., `open-webui`)
4. Follow the install instructions to run the connector on your machine
Expand Down Expand Up @@ -189,7 +189,7 @@ volumes:
open-webui:
```

Get your tunnel token from the [Cloudflare dashboard](https://one.dash.cloudflare.com/networks/tunnels) → select your tunnel → **Configure** → copy the token from the install command.
Get your tunnel token from the [Cloudflare dashboard](https://dash.cloudflare.com/) → Go to [**Networking → Tunnels**] → Select your tunnel → Select **Add a replica** → Copy the install command. The token starts with `eyJ...`.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://one.dash.cloudflare.com/networks/tunnels is also broken. This dashboard provides a way to obtain a tunnel token from the updated https://dash.cloudflare.com/?to=/:account/one/networks/connectors by selecting your tunnel, clicking “Add a connector,” choosing an operating system like Docker, Windows, or Mac from the pre-selected dropdown, and then copying the install command. However, this install command and the dropdown are different for each user.

What is documented here is a simpler and more consistent method with fewer steps to obtain the tunnel token.


:::tip
No `ports` needed on the `open-webui` service. `cloudflared` connects to it via Docker's internal network. To use this, change the service URL in your tunnel config to `http://open-webui:8080`.
Expand All @@ -201,9 +201,9 @@ No `ports` needed on the `open-webui` service. `cloudflared` connects to it via

Cloudflare Zero Trust lets you gate access behind authentication without touching Open WebUI:

1. Go to [**Zero Trust → Access → Applications**](https://one.dash.cloudflare.com/access/apps)
2. **Add an application** → Self-hosted
3. Set the domain to `chat.your-domain.com`
1. Go to [**Zero Trust → Access controls → Applications**](https://dash.cloudflare.com/?to=/:account/one/access-controls/apps)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://one.dash.cloudflare.com/access/apps is also broken. The "Access" dashboard has been renamed to "Access controls". Other UI elements have changed slightly, so this updates the wording.

2. **Create new application** → Self-hosted and private
3. Set the public hostname to `chat.your-domain.com`
4. Create an **Access Policy** (e.g., allow only `@your-company.com` emails)

Users see a Cloudflare login page before reaching Open WebUI.
Expand All @@ -218,5 +218,5 @@ Users see a Cloudflare login page before reaching Open WebUI.
| Start tunnel | `cloudflared tunnel run open-webui` |
| Add DNS | `cloudflared tunnel route dns open-webui chat.your-domain.com` |
| Install as service | `sudo cloudflared service install` |
| Dashboard | [one.dash.cloudflare.com/networks/tunnels](https://one.dash.cloudflare.com/networks/tunnels) |
| Dashboard | [https://dash.cloudflare.com/?to=/:account/one/networks/connectors](https://dash.cloudflare.com/?to=/:account/one/networks/connectors) |
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| Set CORS origin | `CORS_ALLOW_ORIGIN=https://chat.your-domain.com` |
Loading