mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-12-24 16:53:01 +03:00
Add some variables for controlling x_forwarded settings for Synapse listeners
Some checks failed
Lock Threads / action (push) Has been cancelled
Matrix CI / yamllint (push) Has been cancelled
Matrix CI / ansible-lint (push) Has been cancelled
Matrix CI / Run pre-commit (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Lock Threads / action (push) Has been cancelled
Matrix CI / yamllint (push) Has been cancelled
Matrix CI / ansible-lint (push) Has been cancelled
Matrix CI / Run pre-commit (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
@@ -298,7 +298,7 @@ listeners:
|
||||
tls: true
|
||||
bind_addresses: ['::']
|
||||
type: http
|
||||
x_forwarded: false
|
||||
x_forwarded: {{ matrix_synapse_container_federation_api_tls_x_forwarded | to_json }}
|
||||
|
||||
resources:
|
||||
- names: {{ matrix_synapse_federation_listener_resource_names|to_json }}
|
||||
@@ -311,7 +311,7 @@ listeners:
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
type: http
|
||||
x_forwarded: true
|
||||
x_forwarded: {{ matrix_synapse_container_client_api_x_forwarded | to_json }}
|
||||
|
||||
resources:
|
||||
- names: {{ matrix_synapse_http_listener_resource_names|to_json }}
|
||||
@@ -324,7 +324,7 @@ listeners:
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
type: http
|
||||
x_forwarded: true
|
||||
x_forwarded: {{ matrix_synapse_container_federation_api_plain_x_forwarded | to_json }}
|
||||
|
||||
resources:
|
||||
- names: {{ matrix_synapse_federation_listener_resource_names|to_json }}
|
||||
|
||||
@@ -46,7 +46,7 @@ worker_listeners:
|
||||
{% if http_resources|length > 0 %}
|
||||
- type: http
|
||||
bind_addresses: ['::']
|
||||
x_forwarded: true
|
||||
x_forwarded: {{ matrix_synapse_worker_listeners_http_main_x_forwarded | to_json }}
|
||||
port: {{ matrix_synapse_worker_details.port }}
|
||||
resources:
|
||||
- names: {{ http_resources|to_json }}
|
||||
|
||||
Reference in New Issue
Block a user