matrix-docker-ansible-deploy/examples/reverse-proxies/caddy2/README.md

17 lines
1.1 KiB
Markdown
Raw Normal View History

# Caddy reverse-proxy fronting the playbook's integrated Traefik reverse-proxy
2020-12-29 11:00:01 +00:00
This directory contains a sample config that shows you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your own [Caddy](https://caddyserver.com/) reverse-proxy.
2020-12-29 11:00:01 +00:00
## Prerequisite configuration
To get started, first follow the [front the integrated reverse-proxy webserver with another reverse-proxy](../../docs/configuring-playbook-own-webserver.md#fronting-the-integrated-reverse-proxy-webserver-with-another-reverse-proxy) instructions and update your playbook's configuration (`inventory/host_vars/matrix.<your-domain>/vars.yml`).
## Using the Caddyfile
You can either just use the [Caddyfile](Caddyfile) directly or append its content to your own Caddyfile.
In both cases make sure to replace all the `example.tld` domains with your own domain.
2024-01-14 15:23:28 +00:00
This example does not include additional services like element, but you should be able copy the first block and replace the matrix subdomain with the additional services subdomain. I have not tested this though.