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
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,11 @@ To customize logging level or output, use the [log global option]:

## Network listener

> [!TIP]
> If you prefer to use Tailscale by default for all sites you can use the [`default_bind`] global option, instead of `bind` in each site.

The provided network listener allows privately serving sites on your tailnet.
Configure a site block as usual, and use the [bind] directive to specify a tailscale network address:
Configure a site block as usual, and use the [`bind`] directive to specify a tailscale network address:

```caddyfile
:80 {
Expand Down Expand Up @@ -269,7 +272,8 @@ Or they can be served on different ports of the same Tailscale node:
}
```

[bind]: https://caddyserver.com/docs/caddyfile/directives/bind
[`bind`]: https://caddyserver.com/docs/caddyfile/directives/bind
[`default_bind`]: https://caddyserver.com/docs/caddyfile/options#default-bind

### HTTPS support

Expand Down
Loading