Browse Source

Fix Synapse generic worker balancing

Potentially fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1022
pull/1025/head
Slavi Pantaleev 4 years ago
parent
commit
389dc26615
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2

+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 View File

@@ -11,7 +11,7 @@
upstream generic_worker_upstream {
# ensures that requests from the same client will always be passed
# to the same server (except when this server is unavailable)
ip_hash;
hash $http_x_forwarded_for;

{% for worker in generic_workers %}
{% if matrix_nginx_proxy_enabled %}


Loading…
Cancel
Save