From 03672a3a524713319923b7458617c1d6462181fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Schr=C3=B6n?= Date: Tue, 29 Apr 2025 11:45:47 +0000 Subject: [PATCH] fix http-404 for element web with tmpfs refers to commit e65d19884 Run Element Web in tightened/read-only mode without a custom nginx config and issue https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4199 --- .../templates/systemd/matrix-client-element.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-client-element/templates/systemd/matrix-client-element.service.j2 b/roles/custom/matrix-client-element/templates/systemd/matrix-client-element.service.j2 index 9a1475b49..b245baccc 100644 --- a/roles/custom/matrix-client-element/templates/systemd/matrix-client-element.service.j2 +++ b/roles/custom/matrix-client-element/templates/systemd/matrix-client-element.service.j2 @@ -34,7 +34,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \ --tmpfs=/var/cache/nginx:rw,mode=777 \ --tmpfs=/var/run:rw,mode=777 \ --tmpfs=/tmp/element-web-config:rw,mode=777 \ - --tmpfs=/etc/nginx/conf.d:rw,mode=777 \ + --tmpfs=/etc/nginx/conf.d:rw,mode=777,uid={{ matrix_user_uid }} \ --mount type=bind,src={{ matrix_client_element_data_path }}/config.json,dst=/app/config.json,ro \ --mount type=bind,src={{ matrix_client_element_data_path }}/config.json,dst=/app/config.{{ matrix_server_fqn_element }}.json,ro \ {% if matrix_client_element_location_sharing_enabled %}