Remove gzip support from synapse-reverse-proxy-companion

gzipping certain responses is known to cause problems with QR code logins.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3749

Gzipping at the synapse-reverse-proxy-companion level and not at the
level of the outer-most reverse-proxy (Traefik) also sounds non-ideal.

This change only affects setups powered by Synapse workers.

Non-worker setups (and setups powered by other homeservers) were not
having their requests go through synapse-reverse-proxy-companion anyway,
so this change does not affect them.

Future patches may enable response compression support at the Traefik level for
all setups.
This commit is contained in:
Slavi Pantaleev
2024-11-13 21:48:18 +02:00
parent 5f6c3c27d8
commit 58a8f79d95
2 changed files with 0 additions and 7 deletions

View File

@ -66,7 +66,6 @@ http {
server_tokens off;
#gzip on;
{# Map directive needed for proxied WebSocket upgrades #}
map $http_upgrade $connection_upgrade {
default upgrade;