cleanup ip address bindings
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d3be37f756
commit
9b4bc468ab
@ -45,11 +45,10 @@ matrix_web_client_location: /path/to/web/root
|
|||||||
matrix_filter_timeline_limit: -1
|
matrix_filter_timeline_limit: -1
|
||||||
|
|
||||||
matrix_http_bind_ips:
|
matrix_http_bind_ips:
|
||||||
- '::'
|
- "127.0.0.1"
|
||||||
- '0.0.0.0'
|
|
||||||
matrix_http_bind_port: 8008
|
matrix_http_bind_port: 8008
|
||||||
|
|
||||||
matrix_https_bind_ips: "{{ matrix_http_bind_ips }}"
|
matrix_https_bind_ips: []
|
||||||
matrix_https_bind_port: 8448
|
matrix_https_bind_port: 8448
|
||||||
|
|
||||||
matrix_ldap_auth_enabled: False
|
matrix_ldap_auth_enabled: False
|
||||||
|
@ -61,6 +61,7 @@ federation_ip_range_blacklist:
|
|||||||
# List of ports that Synapse should listen on, their purpose and their
|
# List of ports that Synapse should listen on, their purpose and their
|
||||||
# configuration.
|
# configuration.
|
||||||
listeners:
|
listeners:
|
||||||
|
{% if matrix_https_bind_ips is defined and matrix_https_bind_ips | length > 0 %}
|
||||||
# TLS-enabled listener: for when matrix traffic is sent directly to synapse.
|
# TLS-enabled listener: for when matrix traffic is sent directly to synapse.
|
||||||
- port: {{ matrix_https_bind_port }}
|
- port: {{ matrix_https_bind_port }}
|
||||||
bind_addresses:
|
bind_addresses:
|
||||||
@ -74,6 +75,8 @@ listeners:
|
|||||||
resources:
|
resources:
|
||||||
- names: [client, federation]
|
- names: [client, federation]
|
||||||
compress: false
|
compress: false
|
||||||
|
{% endif %}
|
||||||
|
{% if matrix_http_bind_ips is defined and matrix_http_bind_ips | length > 0 %}
|
||||||
|
|
||||||
# Unsecure HTTP listener: for when matrix traffic passes through a reverse proxy
|
# Unsecure HTTP listener: for when matrix traffic passes through a reverse proxy
|
||||||
# that unwraps TLS.
|
# that unwraps TLS.
|
||||||
@ -87,6 +90,7 @@ listeners:
|
|||||||
resources:
|
resources:
|
||||||
- names: [client, federation]
|
- names: [client, federation]
|
||||||
compress: false
|
compress: false
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
## Homeserver blocking ##
|
## Homeserver blocking ##
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user