瀏覽代碼

Nginx conf: more testing less b0rk

pull/642/head
Marcel Partap 6 年之前
父節點
當前提交
46984a4f99
共有 1 個檔案被更改,包括 1 行新增4 行删除
  1. +1
    -4
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2

+ 1
- 4
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 查看文件

@@ -290,10 +290,7 @@ upstream synchrotron {
ip_hash;

{% for synchrotron_worker in synchrotron_workers %}
{# Use the embedded DNS resolver in Docker containers to discover the service #}
resolver 127.0.0.11 valid=5s;
set $backend "matrix-synapse:{{ synchrotron_worker.port }}";
server $backend:{{ synchrotron_worker.port }};
server "matrix-synapse:{{ synchrotron_worker.port }}";
{% endfor %}
}
{% endif %}


Loading…
取消
儲存