Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation to support Caddy V2 #1657

Merged
merged 3 commits into from
Jul 21, 2023
Merged
Changes from 2 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
17 changes: 6 additions & 11 deletions site/src/docs/manuals/subdomain/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,15 @@ The `nginx.conf` would then look something like:

### Caddy configuration

Example of Caddy configuration (`Caddyfile`) running remark42 service on `example.com/remark42/`:
Example of Caddy configuration (`Caddyfile`) running remark42 service on `example.com/remark42/`, proxying
requests under the path /remark42 through to the docker container:

```
example.com {
gzip
tls mail@example.com
... other Caddy config for example.com ...

root /srv/www
log /logs/access.log

# remark42
proxy /remark42/ http://remark42:8080/ {
without /remark42
transparent
}
handle_path /remark42* {
reverse_proxy remark42:8080
}
}
```