1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/examples/reverse-proxies/caddy2-in-container
Suguru Hirahara b04b658735
Add "Web" to Element and SchildiChat web application (#3755)
* Replace "Element" with "Element Web"

- If Element indicates the web application, then it is changed to Element Web.
- If it indicates clients branded with Element such as Element desktop, web, mobile clients, then it is changed to Element clients.
- If it is combined with location sharing functionality, it is not changed.

with other some changes, including:

- Change "app.element.io" anchor link to "https://github.com/element-hq/element-web" on README.md, following other documentation files

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Replace "SchildiChat" with "SchildiChat Web"

- If SchildiChat indicates the web application, then it is changed to SchildiChat Web.
- If it indicates clients branded with SchildiChat such as SchildiChat desktop, web, mobile clients, then it is changed to SchildiChat clients.
- If it is combined with location sharing functionality, it is not changed.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Rename configuring-playbook-client-schildichat.md to configuring-playbook-client-schildichat-web.md

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Rename configuring-playbook-client-element.md to configuring-playbook-client-element-web.md

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

---------

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-11-07 16:31:26 +02:00
..
Caddyfile Get rid of some double spaces 2024-10-21 14:31:53 +03:00
docker-compose.yaml Added an example of fronting the playbook's integrated Traefik reverse-proxy with the existing Caddy container (#3514) 2024-09-14 09:06:40 +03:00
README.md Add "Web" to Element and SchildiChat web application (#3755) 2024-11-07 16:31:26 +02:00

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 containerized Caddy reverse-proxy. If you have a server with a Caddy container already serving several applications and you want to install Matrix on it (with no changes to existing traffic routing), then this guide is for you.

Note: if you're running Caddy on the host itself (not in a container), refer to the caddy2 example instead.

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.example.com/vars.yml).

Then, adjust your Caddy docker-compose.yaml file (if you're using docker-compose for running your Caddy container). See examples/reverse-proxies/caddy2-in-container/docker-compose.yaml.

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.com domains with your own domain.

This example does not include additional services like Element Web, but you should be able copy the first block and replace the matrix. subdomain with the subdomain of the some other service (e.g. element.).