Files
.config
.github
bin
collections
docs
examples
apache
caddy
caddy2
Caddyfile
Caddyfile.deprecated
README.md
haproxy
nginx
host.yml
hosts
vars.yml
group_vars
roles
.editorconfig
.envrc
.gitattributes
.gitignore
.yamllint
CHANGELOG.md
LICENSE
Makefile
README.md
YEAR-IN-REVIEW.md
ansible.cfg
flake.nix
jitsi_jvb.yml
justfile
requirements.yml
setup.yml
matrix-docker-ansible-deploy/examples/caddy2

Caddy reverse-proxy fronting the playbook's integrated Traefik reverse-proxy

This directory contains a sample config that shows you how to front the integrated Traefik reverse-proxy webserver with your own Caddy reverse-proxy.

Prerequisite configuration

To get started, first follow the front 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 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.

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.

Caddyfile.deprecated

This can be used as a Caddy reverse-proxy without intermediary playbook managed reverse proxy. However, this setup is not supported by the playbook anymore. Instead front the integrated reverse-proxy webserver with another reverse-proxy as described above.