Improve synapse-admin reverse-proxying fix

Fixup for 6a31fba346
This commit is contained in:
Slavi Pantaleev 2023-01-28 17:09:20 +02:00
parent 6a31fba346
commit e588c42088

View File

@ -30,8 +30,9 @@
See: https://github.com/Awesome-Technologies/synapse-admin/issues/322 See: https://github.com/Awesome-Technologies/synapse-admin/issues/322
#} #}
sub_filter_once off; sub_filter_once off;
sub_filter_types text/css;
sub_filter "/static/" "{{ matrix_synapse_admin_public_endpoint }}/static/"; 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