Fix Synapse generic worker balancing

Potentially fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1022
This commit is contained in:
Slavi Pantaleev 2021-04-24 11:52:45 +03:00
parent 7cf2f352aa
commit 389dc26615

View File

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