Explorar el Código
Merge pull request #1886 from davidmehren/fix/worker_x_forwarded
Synapse workers should respect X-Forwarded headers
pull/1888/head
Slavi Pantaleev
hace 4 años
committed by
GitHub
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 4AEE18F83AFDEB23
Se han
modificado 1 ficheros con
1 adiciones y
0 borrados
-
roles/matrix-synapse/templates/synapse/worker.yaml.j2
|
|
|
@@ -26,6 +26,7 @@ worker_listeners: |
|
|
|
{% if http_resources|length > 0 %} |
|
|
|
- type: http |
|
|
|
bind_addresses: ['::'] |
|
|
|
x_forwarded: true |
|
|
|
port: {{ matrix_synapse_worker_details.port }} |
|
|
|
resources: |
|
|
|
- names: {{ http_resources|to_json }} |
|
|
|
|