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:
@ -91,9 +91,6 @@ server {
|
||||
server_tokens off;
|
||||
root /dev/null;
|
||||
|
||||
gzip on;
|
||||
gzip_types text/plain application/json;
|
||||
|
||||
{% if matrix_synapse_reverse_proxy_companion_synapse_workers_enabled %}
|
||||
# Client-server overrides -- These locations must go to the main Synapse process
|
||||
location ~ {{ matrix_synapse_reverse_proxy_companion_client_server_main_override_locations_regex }} {
|
||||
@ -252,9 +249,6 @@ server {
|
||||
|
||||
root /dev/null;
|
||||
|
||||
gzip on;
|
||||
gzip_types text/plain application/json;
|
||||
|
||||
{% if matrix_synapse_reverse_proxy_companion_synapse_workers_enabled %}
|
||||
# Federation overrides -- These locations must go to the main Synapse process
|
||||
location ~ {{ matrix_synapse_reverse_proxy_companion_federation_override_locations_regex }} {
|
||||
|
Reference in New Issue
Block a user