mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-17 17:59:42 +02:00
Add matrix_authentication_service_config_http_listener_web_resources*
variables for controlling Matrix Authentication Service's web HTTP listener's resources
This commit is contained in:
@@ -314,6 +314,22 @@ matrix_authentication_service_config_secrets_keys: |-
|
|||||||
# #
|
# #
|
||||||
########################################################################################
|
########################################################################################
|
||||||
|
|
||||||
|
# Controls the resources exposed by the `web` HTTP listener.
|
||||||
|
matrix_authentication_service_config_http_listener_web_resources: "{{ matrix_authentication_service_config_http_listener_web_resources_default + matrix_authentication_service_config_http_listener_web_resources_auto + matrix_authentication_service_config_http_listener_web_resources_custom }}"
|
||||||
|
matrix_authentication_service_config_http_listener_web_resources_default: |-
|
||||||
|
{{
|
||||||
|
[
|
||||||
|
{'name': 'discovery'},
|
||||||
|
{'name': 'human'},
|
||||||
|
{'name': 'oauth'},
|
||||||
|
{'name': 'compat'},
|
||||||
|
{'name': 'graphql'},
|
||||||
|
{'name': 'assets'},
|
||||||
|
]
|
||||||
|
}}
|
||||||
|
matrix_authentication_service_config_http_listener_web_resources_auto: []
|
||||||
|
matrix_authentication_service_config_http_listener_web_resources_custom: []
|
||||||
|
|
||||||
# Controls the `http.public_base` configuration setting.
|
# Controls the `http.public_base` configuration setting.
|
||||||
matrix_authentication_service_config_http_public_base: "https://{{ matrix_authentication_service_hostname }}{{ '/' if matrix_authentication_service_path_prefix == '/' else (matrix_authentication_service_path_prefix + '/') }}"
|
matrix_authentication_service_config_http_public_base: "https://{{ matrix_authentication_service_hostname }}{{ '/' if matrix_authentication_service_path_prefix == '/' else (matrix_authentication_service_path_prefix + '/') }}"
|
||||||
|
|
||||||
|
@@ -2,13 +2,7 @@
|
|||||||
http:
|
http:
|
||||||
listeners:
|
listeners:
|
||||||
- name: web
|
- name: web
|
||||||
resources:
|
resources: {{ matrix_authentication_service_config_http_listener_web_resources | to_json }}
|
||||||
- name: discovery
|
|
||||||
- name: human
|
|
||||||
- name: oauth
|
|
||||||
- name: compat
|
|
||||||
- name: graphql
|
|
||||||
- name: assets
|
|
||||||
binds:
|
binds:
|
||||||
- address: '[::]:8080'
|
- address: '[::]:8080'
|
||||||
proxy_protocol: false
|
proxy_protocol: false
|
||||||
|
Reference in New Issue
Block a user