matrix-docker-ansible-deploy/roles
Slavi Pantaleev f0698ee641 Do not overwrite X-Forwarded-For when reverse-proxying to Synapse
We have a flow like this:
1. matrix.DOMAIN vhost (matrix-domain.conf)
2. matrix-synapse vhost (matrix-synapse.conf); or matrix-corporal container, if enabled
3. (optional) matrix-synapse vhost (matrix-synapse.conf), if matrix-corporal enabled
4. matrix-synapse container

We are setting `X-Forwarded-For` correctly in step #1, but were
overwriting it in step #2 with something inaccurate.

Not doing anything in step #2 is better than doing the wrong thing.
It's probably best if we append another reverse-proxy address there
though, although what we're doing now (with this patch) seems to yield
the correct result (when matrix-corporal is not enabled).

When matrix-corporal is enabled, we still seem to do the wrong thing for
some reason. It's something to be fixed later on.
2021-03-08 17:24:09 +02:00
..
matrix-aux Add matrix-aux role to help with managing auxiliary files/directories 2021-01-11 22:32:52 +02:00
matrix-base Merge branch 'master' into synapse-workers 2021-02-14 13:00:57 +02:00
matrix-bot-matrix-reminder-bot added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-appservice-discord added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-appservice-irc added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-appservice-slack added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-appservice-webhooks added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mautrix-facebook Remove alembic migrations for mautrix-facebook 2021-02-28 18:42:31 +02:00
matrix-bridge-mautrix-hangouts added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mautrix-instagram Fix some bridges failing when Synapse workers enabled 2021-02-23 13:17:52 +02:00
matrix-bridge-mautrix-signal added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mautrix-telegram added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mautrix-whatsapp Fix some bridges failing when Synapse workers enabled 2021-02-23 13:17:52 +02:00
matrix-bridge-mx-puppet-discord added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mx-puppet-groupme Fix some bridges failing when Synapse workers enabled 2021-02-23 13:17:52 +02:00
matrix-bridge-mx-puppet-instagram added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mx-puppet-skype added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mx-puppet-slack added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mx-puppet-steam added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-mx-puppet-twitter added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-bridge-sms added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-client-element Upgrade Element (1.7.21 -> 1.7.22) 2021-03-01 15:53:54 +02:00
matrix-common-after/tasks Adjust wait timeout 2021-03-02 20:07:59 +01:00
matrix-corporal added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-coturn Run Let's Encrypt renewal checks daily instead of weekly. 2021-02-27 21:11:22 +01:00
matrix-dimension added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-dynamic-dns added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-email2matrix added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-etherpad Revert "trust the reverse proxy by default" 2021-02-22 13:03:09 +02:00
matrix-grafana Merge pull request #896 from rakshazi/add_version_to_each_role 2021-02-21 12:26:17 +02:00
matrix-jitsi Fix point overlap between matrix-domain and Jitsi 2021-03-01 20:27:45 +02:00
matrix-ma1sd Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-mailer added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-nginx-proxy Do not overwrite X-Forwarded-For when reverse-proxying to Synapse 2021-03-08 17:24:09 +02:00
matrix-postgres Fix invalid matrix-postgres.service when matrix_postgres_process_extra_arguments is empty 2021-02-19 16:33:23 +02:00
matrix-prometheus Merge pull request #896 from rakshazi/add_version_to_each_role 2021-02-21 12:26:17 +02:00
matrix-prometheus-node-exporter Merge pull request #896 from rakshazi/add_version_to_each_role 2021-02-21 12:26:17 +02:00
matrix-redis added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00
matrix-registration Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-synapse Upgrade Synapse for ARM64 (v1.26.0 -> v1.28.0) 2021-02-25 19:09:46 +02:00
matrix-synapse-admin added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility) 2021-02-20 19:08:28 +02:00