From e588c42088c6fc5f94bb14d2473074294decc3b2 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 28 Jan 2023 17:09:20 +0200 Subject: [PATCH] Improve synapse-admin reverse-proxying fix Fixup for 6a31fba346d9da434a3d7cf --- .../matrix-synapse-admin/tasks/inject_into_nginx_proxy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/custom/matrix-synapse-admin/tasks/inject_into_nginx_proxy.yml b/roles/custom/matrix-synapse-admin/tasks/inject_into_nginx_proxy.yml index b082190d9..2c25ff476 100644 --- a/roles/custom/matrix-synapse-admin/tasks/inject_into_nginx_proxy.yml +++ b/roles/custom/matrix-synapse-admin/tasks/inject_into_nginx_proxy.yml @@ -30,8 +30,9 @@ See: https://github.com/Awesome-Technologies/synapse-admin/issues/322 #} sub_filter_once off; - sub_filter_types text/css; sub_filter "/static/" "{{ matrix_synapse_admin_public_endpoint }}/static/"; + sub_filter "/favicon.ico" "{{ matrix_synapse_admin_public_endpoint }}/favicon.ico"; + sub_filter "/manifest.json" "{{ matrix_synapse_admin_public_endpoint }}/manifest.json"; } - name: Register Synapse Admin proxying configuration with matrix-nginx-proxy