Default to root-path-redirection on the base domain if index.html creation is disabled

This is a break in backward-compatibility for people disabling
`index.html` creation via the playbook but are managing their static
website files in another way (AUX role, etc).
This commit is contained in:
Slavi Pantaleev
2024-01-31 12:13:20 +02:00
parent 8c69ff8d03
commit 578d00a54a
4 changed files with 24 additions and 0 deletions

View File

@ -11,3 +11,5 @@
- {'name': 'matrix_static_files_container_labels_base_domain_traefik_hostname', when: "{{ matrix_static_files_container_labels_base_domain_enabled }}"}
- {'name': 'matrix_static_files_container_labels_base_domain_traefik_path_prefix', when: "{{ matrix_static_files_container_labels_base_domain_enabled }}"}
- {'name': 'matrix_static_files_container_labels_base_domain_root_path_redirection_url', when: "{{ matrix_static_files_container_labels_base_domain_enabled and matrix_static_files_container_labels_base_domain_root_path_redirection_enabled }}"}