Ver código fonte

use docker url for maubot to contact synapse server

This is more secure as most setups do not expose admin API endpoints to the outside world.
pull/2791/head
Alexis Yushin 2 anos atrás
pai
commit
a07279072a
2 arquivos alterados com 2 adições e 1 exclusões
  1. +1
    -0
      .gitignore
  2. +1
    -1
      roles/custom/matrix-bot-maubot/templates/config/config.yaml.j2

+ 1
- 0
.gitignore Ver arquivo

@@ -10,3 +10,4 @@ flake.lock
# ignore roles pulled by ansible-galaxy # ignore roles pulled by ansible-galaxy
/roles/galaxy/* /roles/galaxy/*
!/roles/galaxy/.gitkeep !/roles/galaxy/.gitkeep
.idea/

+ 1
- 1
roles/custom/matrix-bot-maubot/templates/config/config.yaml.j2 Ver arquivo

@@ -60,7 +60,7 @@ server:
homeservers: homeservers:
{{ matrix_domain }}: {{ matrix_domain }}:
# Client-server API URL # Client-server API URL
url: "https://{{ matrix_server_fqn_matrix }}"
url: "http://matrix-synapse:8008"
# registration_shared_secret from synapse config # registration_shared_secret from synapse config
# You can leave this empty if you don't have access to the homeserver. # You can leave this empty if you don't have access to the homeserver.
# When this is empty, `mbc auth --register` won't work, but `mbc auth` (login) will. # When this is empty, `mbc auth --register` won't work, but `mbc auth` (login) will.


Carregando…
Cancelar
Salvar