Merge pull request #511 from 0x46616c6b/ma1sd-v2

enable by default v2 api prefix for ma1sd
This commit is contained in:
Slavi Pantaleev 2020-05-19 21:15:42 +03:00 committed by GitHub
commit 9b4b5198d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,10 @@ matrix_ma1sd_self_check_validate_certificates: true
# According to: https://github.com/ma1uta/ma1sd/blob/master/docs/troubleshooting.md#increase-verbosity # According to: https://github.com/ma1uta/ma1sd/blob/master/docs/troubleshooting.md#increase-verbosity
matrix_ma1sd_verbose_logging: false matrix_ma1sd_verbose_logging: false
# Setting up support for API prefixes
matrix_ma1sd_v1_enabled: true
matrix_ma1sd_v2_enabled: true
# Default ma1sd configuration template which covers the generic use case. # Default ma1sd configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it. # You can customize it by controlling the various variables inside it.
# #
@ -85,6 +89,8 @@ matrix_ma1sd_configuration_yaml: |
#jinja2: lstrip_blocks: True #jinja2: lstrip_blocks: True
matrix: matrix:
domain: {{ matrix_domain }} domain: {{ matrix_domain }}
v1: {{ matrix_ma1sd_v1_enabled|to_json }}
v2: {{ matrix_ma1sd_v2_enabled|to_json }}
server: server:
name: {{ matrix_server_fqn_matrix }} name: {{ matrix_server_fqn_matrix }}