소스 검색

Add Dendrite-awareness to matrix_homeserver_container_url when matrix-nginx-proxy disabled

pull/1520/head
Slavi Pantaleev 4 년 전
부모
커밋
38ad152c03
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. +7
    -1
      group_vars/matrix_servers

+ 7
- 1
group_vars/matrix_servers 파일 보기

@@ -21,7 +21,13 @@ matrix_identity_server_url: "{{ ('https://' + matrix_server_fqn_matrix) if matri


# If Synapse workers are enabled and matrix-nginx-proxy is disabled, certain APIs may not work over 'http://matrix-synapse:{{ matrix_synapse_container_client_api_port }}'. # If Synapse workers are enabled and matrix-nginx-proxy is disabled, certain APIs may not work over 'http://matrix-synapse:{{ matrix_synapse_container_client_api_port }}'.
# This is because we explicitly disable them for the main Synapse process. # This is because we explicitly disable them for the main Synapse process.
matrix_homeserver_container_url: "{{ 'http://matrix-nginx-proxy:12080' if matrix_nginx_proxy_enabled else 'http://matrix-synapse:'+ matrix_synapse_container_client_api_port|string }}"
matrix_homeserver_container_url: |-
{{
'http://matrix-nginx-proxy:12080' if matrix_nginx_proxy_enabled else {
'synapse': ('http://matrix-synapse:'+ matrix_synapse_container_client_api_port|string),
'dendrite': ('http://matrix-dendrite:' + matrix_dendrite_http_bind_port|string),
}[matrix_homeserver_implementation]
}}


###################################################################### ######################################################################
# #


불러오는 중...
취소
저장