matrix-synapse: Allow configuring bind addresses
This commit is contained in:
parent
43aaae9dc5
commit
44cbbb4f28
3 changed files with 13 additions and 6 deletions
|
@ -64,11 +64,12 @@ data:
|
|||
{{- end }}
|
||||
|
||||
## Ports ##
|
||||
{{- $bindAddresses := .Values.config.bindAddresses | default (list "::") }}
|
||||
|
||||
listeners:
|
||||
- port: 8008
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
bind_addresses: {{ toJson $bindAddresses }}
|
||||
type: http
|
||||
x_forwarded: true
|
||||
|
||||
|
@ -83,7 +84,7 @@ data:
|
|||
|
||||
- port: 9090
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
bind_addresses: {{ toJson $bindAddresses }}
|
||||
type: http
|
||||
|
||||
resources:
|
||||
|
@ -92,7 +93,7 @@ data:
|
|||
|
||||
- port: 9093
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
bind_addresses: {{ toJson $bindAddresses }}
|
||||
type: http
|
||||
|
||||
resources:
|
||||
|
|
|
@ -29,11 +29,12 @@ data:
|
|||
{{- end }}
|
||||
worker_name: {{ $config.name }}
|
||||
{{- end }}
|
||||
{{- $bindAddresses := $config.bindAddresses | default $.Values.config.bindAddresses | default (list "::") }}
|
||||
|
||||
worker_listeners:
|
||||
- port: 9090
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
bind_addresses: {{ toJson $bindAddresses }}
|
||||
type: http
|
||||
|
||||
resources:
|
||||
|
@ -47,7 +48,7 @@ data:
|
|||
|
||||
- port: 9093
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
bind_addresses: {{ toJson $bindAddresses }}
|
||||
type: http
|
||||
x_forwarded: true
|
||||
|
||||
|
@ -58,7 +59,7 @@ data:
|
|||
|
||||
- port: 8083
|
||||
tls: false
|
||||
bind_addresses: ['::']
|
||||
bind_addresses: {{ toJson $bindAddresses }}
|
||||
type: http
|
||||
x_forwarded: true
|
||||
|
||||
|
|
|
@ -128,6 +128,11 @@ config:
|
|||
# verify_keys:
|
||||
# "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
|
||||
|
||||
## The bind addresses to use for the default listeners
|
||||
##
|
||||
# bindAddresses:
|
||||
# - '::'
|
||||
|
||||
## Extra listeners to configure.
|
||||
##
|
||||
extraListeners: []
|
||||
|
|
Loading…
Reference in a new issue