Disabling HTTPS in vars.yml doesn't disable it in clients configuration
silasdb opened this issue · comments
Describe the bug
According to the documentation about ssl certificates, I can set devture_traefik_config_entrypoint_web_secure_enabled: false
in vars.yml
to disable HTTPS.
It works for the server after running the playbook, but clients (at least Element) don't honor this setting and continued using https
. After running the playbook, manual change on /matrix/client-element/config.json
was necessary to make it work.
Maybe variable matrix_client_element_default_hs_url
is being set with the wrong value?
To Reproduce
Set devture_traefik_config_entrypoint_web_secure_enabled: false
in vars.yml
and run the playbook. (I believe install-all
tag is enough?)
Expected behavior
/matrix/client-element/config.json
should have base_url: http://...
(not https
).
Matrix Server:
- OS: Debian 11
- Architecture amd64
- uname:
Linux debian 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux
Ansible:
If your problem appears to be with Ansible, tell us:
- where you run Ansible -- on the Matrix server itself; standard installation
- what version of Ansible you're running: ansible 2.10.8
Maybe roles/custom/matrix-base/defaults/main.yml#L157 should set matrix_homeserver_url
protocol (https
or http
) conditionally?