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/roles/custom/matrix-nginx-proxy/tasks
Slavi Pantaleev f983604695 Initial work on Traefik support
This gets us started on adding a Traefik role and hooking Traefik:

- directly to services which support Traefik - we only have a few of
  these right now, but the list will grow

- to matrix-nginx-proxy for most services that integrate with
  matrix-nginx-proxy right now

Traefik usage should be disabled by default for now and nothing should
change for people just yet.

Enabling these experiments requires additional configuration like this:

```yaml
devture_traefik_ssl_email_address: '.....'

matrix_playbook_traefik_role_enabled: true
matrix_playbook_traefik_labels_enabled: true

matrix_ssl_retrieval_method: none

matrix_nginx_proxy_https_enabled: false

matrix_nginx_proxy_container_http_host_bind_port: ''
matrix_nginx_proxy_container_federation_host_bind_port: ''

matrix_nginx_proxy_trust_forwarded_proto: true

matrix_nginx_proxy_x_forwarded_for: '$proxy_add_x_forwarded_for'

matrix_coturn_enabled: false
```

What currently works is:
reverse-proxying for all nginx-proxy based services **except** for the Matrix homeserver
(both Client-Server an Federation traffic for the homeserver don't work yet)
2023-02-06 10:34:51 +02:00
..
nginx-proxy matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay} 2022-11-04 16:44:29 +02:00
ssl Replace import_role calls with include_role calls 2022-11-27 11:27:01 +02:00
main.yml Add install-* tags for quicker runs 2022-11-25 16:02:51 +02:00
self_check_well_known_file.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
self_check_well_known.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
setup_nginx_proxy.yml Initial work on Traefik support 2023-02-06 10:34:51 +02:00
setup_well_known.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
validate_config.yml Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00