Skip to content

Commit

Permalink
doc: add caddy example
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsquest committed Feb 4, 2024
1 parent 631fcf8 commit f959683
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Enhanced Docker image for <a href="http://radicale.org">Radicale</a>, the CalDAV
- [Option 3: Build the image with a custom user/group](#option-3-build-the-image-with-a-custom-usergroup)
- [Tags](#tags)
- [Running with Podman](#running-with-podman)
- [Running behind Caddy](#running-behind-caddy)
- [Contributing](#contributing)
- [Releasing](#releasing)
- [Contributors](#contributors)
Expand Down Expand Up @@ -251,6 +252,23 @@ Two users have given the instructions they used to run the image with Podman:
- [@greylinux's instructions](https://github.com/tomsquest/docker-radicale/issues/122#issuecomment-1361240992)
- [@strauss115's instructions](https://github.com/tomsquest/docker-radicale/issues/122#issuecomment-1874607285)

## Running behind Caddy

[Caddy](https://caddyserver.com) is sitting in front of all my self-hosted services, like Radicale.
It brings https and security (basic authentication).

The following Caddyfile works for me. Note that I don't use Radicale authentication, I have only one user.

```caddyfile
radicale.yourdomain.com {
reverse_proxy 127.0.0.1:5232
basicauth {
tom pas$w0rd
}
}
```

## Contributing

To run the tests:
Expand Down

0 comments on commit f959683

Please sign in to comment.