Add option to proxy management UI (now defaults to false)
This commit is contained in:
parent
d7eb2d097f
commit
8806598f51
@ -16,6 +16,7 @@ matrix_bot_maubot_container_data_dir: "/data"
|
||||
matrix_bot_maubot_container_config_dir: "/root/.config/"
|
||||
|
||||
matrix_bot_maubot_bot_server: "https://{{ matrix_server_fqn_matrix }}"
|
||||
matrix_bot_maubot_proxy_management_interface: False
|
||||
|
||||
|
||||
matrix_bot_maubot_logging_level: info
|
||||
|
@ -39,6 +39,7 @@
|
||||
proxy_set_header Connection "upgrade";
|
||||
{% endif %}
|
||||
}
|
||||
when: matrix_bot_maubot_proxy_management_interface|bool
|
||||
|
||||
- name: Register Maubot's proxying configuration with matrix-nginx-proxy
|
||||
set_fact:
|
||||
@ -48,6 +49,7 @@
|
||||
+
|
||||
[matrix_bot_maubot_matrix_nginx_proxy_configuration]
|
||||
}}
|
||||
when: matrix_bot_maubot_proxy_management_interface|bool
|
||||
|
||||
- name: Warn about reverse-proxying if matrix-nginx-proxy not used
|
||||
debug:
|
||||
@ -56,7 +58,7 @@
|
||||
reverse proxy.
|
||||
Please make sure that you're proxying the `/_matrix/maubot`
|
||||
URL endpoint to the matrix-maubot container.
|
||||
when: "matrix_bot_maubot_enabled|bool and matrix_nginx_proxy_enabled is not defined"
|
||||
when: "matrix_bot_maubot_enabled|bool and matrix_bot_maubot_proxy_management_interface|bool and matrix_nginx_proxy_enabled is not defined"
|
||||
|
||||
|
||||
- name: Ensure maubot image is pulled
|
||||
|
Loading…
Reference in New Issue
Block a user