Upgrade synapse-admin (0.8.6 -> 0.8.7) and drop reverse-proxy workaround

Related to 6a31fba346, 6a31fba346.

Related to https://github.com/Awesome-Technologies/synapse-admin/issues/322
This commit is contained in:
Slavi Pantaleev 2023-02-07 10:45:19 +02:00
parent 66baef5bf6
commit 6c17671abd
2 changed files with 1 additions and 10 deletions

View File

@ -9,7 +9,7 @@ matrix_synapse_admin_container_image_self_build_repo: "https://github.com/Awesom
matrix_synapse_admin_docker_src_files_path: "{{ matrix_base_data_path }}/synapse-admin/docker-src" matrix_synapse_admin_docker_src_files_path: "{{ matrix_base_data_path }}/synapse-admin/docker-src"
matrix_synapse_admin_version: 0.8.6 matrix_synapse_admin_version: 0.8.7
matrix_synapse_admin_docker_image: "{{ matrix_synapse_admin_docker_image_name_prefix }}awesometechnologies/synapse-admin:{{ matrix_synapse_admin_version }}" matrix_synapse_admin_docker_image: "{{ matrix_synapse_admin_docker_image_name_prefix }}awesometechnologies/synapse-admin:{{ matrix_synapse_admin_version }}"
matrix_synapse_admin_docker_image_name_prefix: "{{ 'localhost/' if matrix_synapse_admin_container_image_self_build else matrix_container_global_registry_prefix }}" matrix_synapse_admin_docker_image_name_prefix: "{{ 'localhost/' if matrix_synapse_admin_container_image_self_build else matrix_container_global_registry_prefix }}"
matrix_synapse_admin_docker_image_force_pull: "{{ matrix_synapse_admin_docker_image.endswith(':latest') }}" matrix_synapse_admin_docker_image_force_pull: "{{ matrix_synapse_admin_docker_image.endswith(':latest') }}"

View File

@ -24,15 +24,6 @@
{# Generic configuration for use outside of our container setup #} {# Generic configuration for use outside of our container setup #}
proxy_pass http://127.0.0.1:8766/$1; proxy_pass http://127.0.0.1:8766/$1;
{% endif %} {% endif %}
{#
Workaround synapse-admin serving all assets at /static.
See: https://github.com/Awesome-Technologies/synapse-admin/issues/322
#}
sub_filter_once off;
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 - name: Register Synapse Admin proxying configuration with matrix-nginx-proxy