matrix-docker-ansible-deploy/roles/matrix-nginx-proxy/tasks
Slavi Pantaleev 4d62a75f6f Get matrix-corporal to play nicely with a Synapse worker setup
We do this by creating one more layer of indirection.

First we reach some generic vhost handling matrix.DOMAIN.
A bunch of override rules are added there (capturing traffic to send to
ma1sd, etc). nginx-status and similar generic things also live there.

We then proxy to the homeserver on some other vhost (only Synapse being
available right now, but repointing this to Dendrite or other will be
possible in the future).
Then that homeserver-specific vhost does its thing to proxy to the
homeserver. It may or may not use workers, etc.

Without matrix-corporal, the flow is now:
1. matrix.DOMAIN (matrix-nginx-proxy/matrix-domain.conf)
2. matrix-nginx-proxy/matrix-synapse.conf
3. matrix-synapse

With matrix-corporal enabled, it becomes:
1. matrix.DOMAIN (matrix-nginx-proxy/matrix-domain.conf)
2. matrix-corporal
3. matrix-nginx-proxy/matrix-synapse.conf
4. matrix-synapse

(matrix-corporal gets injected at step 2).
2021-01-25 09:46:41 +02:00
..
ssl Replace cronjobs with systemd timers 2021-01-14 23:35:50 +02:00
init.yml Replace cronjobs with systemd timers 2021-01-14 23:35:50 +02:00
main.yml Fix CONDITIONAL_BARE_VARS deprecation warning in ansible 2.8 2019-05-21 10:25:59 -05:00
self_check_well_known.yml Rename variables (s/mxisd/ma1sd/) and adapt roles 2020-04-02 11:31:38 +02:00
self_check_well_known_file.yml Run all API self checks in check_mode 2020-07-04 15:24:33 +02:00
setup_nginx_proxy.yml Get matrix-corporal to play nicely with a Synapse worker setup 2021-01-25 09:46:41 +02:00
setup_well_known.yml Allow the matrix user username and groupname to be configured separately 2020-05-01 19:59:32 +02:00
validate_config.yml Remove unused variable 2021-01-14 17:47:13 +02:00