From 1160e3212621d2bba1c67ef32780a8c0f6252236 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 3 Feb 2024 18:48:24 +0200 Subject: [PATCH] Fix incorrect variable name for base-domain root-path redirection Fixes a typo in 76a265f9a1b902481 Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3153 --- CHANGELOG.md | 2 +- docs/configuring-playbook-base-domain-serving.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a9473760..d96326a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ This only affects people who are [Serving a static website at the base domain](. That is, for people who have `matrix_static_files_file_index_html_enabled: false` in their `vars.yml` configuration, the playbook has a new default behavior. Since the playbook is not managing the `index.html` file, it will default to a more sensible way of handling the base domain - redirecting `https://DOMAIN/` to `https://matrix.DOMAIN/`, instead of serving a 404 page. -If you are managing your static website by yourself (by dropping files into `/matrix/static-files/public` somehow), then you probably don't wish for such redirection to happen. You can disable it by adding `matrix_static_files_container_labels_base_domain_enabled: false` to your `vars.yml` configuration file. +If you are managing your static website by yourself (by dropping files into `/matrix/static-files/public` somehow), then you probably don't wish for such redirection to happen. You can disable it by adding `matrix_static_files_container_labels_base_domain_root_path_redirection_enabled: false` to your `vars.yml` configuration file. # 2024-01-20 diff --git a/docs/configuring-playbook-base-domain-serving.md b/docs/configuring-playbook-base-domain-serving.md index d070abc59..95f7547a3 100644 --- a/docs/configuring-playbook-base-domain-serving.md +++ b/docs/configuring-playbook-base-domain-serving.md @@ -45,7 +45,7 @@ matrix_static_files_file_index_html_enabled: false # Disable the automatic redirectin of `https://DOMAIN/` to `https://matrix.DOMAIN/`. # This gets automatically enabled when you disable `matrix_static_files_file_index_html_enabled`, as we're doing above. -matrix_static_files_container_labels_base_domain_enabled: false +matrix_static_files_container_labels_base_domain_root_path_redirection_enabled: false ``` With this configuration, Ansible will no longer mess around with the `/matrix/static-files/public/index.html` file.