mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 10:47:32 +01:00
Fix synapse-admin reverse-proxying regression caused by 0.8.6
Related to f165aa5d48
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2424
This commit is contained in:
parent
29818abaf5
commit
6a31fba346
@ -24,6 +24,14 @@
|
|||||||
{# 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_types text/css;
|
||||||
|
sub_filter "/static/" "{{ matrix_synapse_admin_public_endpoint }}/static/";
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: Register Synapse Admin proxying configuration with matrix-nginx-proxy
|
- name: Register Synapse Admin proxying configuration with matrix-nginx-proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user