Set matrix_user_verification_service_uvs_homeserver_url in the role defaults and updated docs accordingly.
This commit is contained in:
parent
07d9ea5e87
commit
50c1e9d695
@ -49,7 +49,7 @@ However, it is possible to expose UVS via setting `matrix_user_verification_serv
|
|||||||
|
|
||||||
### Access token
|
### Access token
|
||||||
|
|
||||||
The Synapse Access Token is used to verify RoomMembership and PowerLevel against the configured homeserver_url (which is plugged in group_vars).
|
The Synapse Access Token is used to verify RoomMembership and PowerLevel against `matrix_user_verification_service_uvs_homeserver_url`.
|
||||||
|
|
||||||
We recommend that you create a dedicated Matrix user for uvs (`uvs` is a good username).
|
We recommend that you create a dedicated Matrix user for uvs (`uvs` is a good username).
|
||||||
Follow our [Registering users](registering-users.md) guide to register a user with administration privileges.
|
Follow our [Registering users](registering-users.md) guide to register a user with administration privileges.
|
||||||
|
@ -3207,8 +3207,6 @@ matrix_user_verification_service_container_http_host_bind_port: "{{ '' if (matr
|
|||||||
# URL exposed in the docker network
|
# URL exposed in the docker network
|
||||||
matrix_user_verification_service_container_url: "http://{{ matrix_user_verification_service_container_name }}:3000"
|
matrix_user_verification_service_container_url: "http://{{ matrix_user_verification_service_container_name }}:3000"
|
||||||
|
|
||||||
# Set the homeserver URL to the container name if synapse is managed by this playbook
|
|
||||||
matrix_user_verification_service_uvs_homeserver_url: "{{ matrix_homeserver_container_url if matrix_synapse_enabled }}"
|
|
||||||
# We connect via the container network (private IPs), so we need to disable IP checks
|
# We connect via the container network (private IPs), so we need to disable IP checks
|
||||||
matrix_user_verification_service_uvs_disable_ip_blacklist: "{{'true' if matrix_synapse_enabled else 'false'}}"
|
matrix_user_verification_service_uvs_disable_ip_blacklist: "{{'true' if matrix_synapse_enabled else 'false'}}"
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ matrix_user_verification_service_systemd_service_name: "{{ matrix_user_verificat
|
|||||||
# matrix_user_verification_service_uvs_access_token:
|
# matrix_user_verification_service_uvs_access_token:
|
||||||
|
|
||||||
# homeserver client api url
|
# homeserver client api url
|
||||||
# matrix_user_verification_service_uvs_homeserver_url: ""
|
matrix_user_verification_service_uvs_homeserver_url: "{{ matrix_homeserver_container_url }}"
|
||||||
# disable check for non private ip range of homeserver. e.g. set to `true` if your homeserver domain resolves to a private ip.
|
# disable check for non private ip range of homeserver. e.g. set to `true` if your homeserver domain resolves to a private ip.
|
||||||
matrix_user_verification_service_uvs_disable_ip_blacklist: false
|
matrix_user_verification_service_uvs_disable_ip_blacklist: false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user