Skip to content

Commit

Permalink
Forward /_matrix/client/v3 to identity server (not just /_matrix/clie…
Browse files Browse the repository at this point in the history
…nt/r0)

Fixes spantaleev#2954
  • Loading branch information
spantaleev authored and KarolosLykos committed Mar 5, 2024
1 parent ac6db22 commit 5a2c9c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
{% endif %}

{% if matrix_nginx_proxy_proxy_matrix_user_directory_search_enabled %}
location ^~ /_matrix/client/r0/user_directory/search {
location ^~ /_matrix/client/(r0|v3)/user_directory/search {
{% if matrix_nginx_proxy_enabled %}
{# Use the embedded DNS resolver in Docker containers to discover the service #}
resolver {{ matrix_nginx_proxy_http_level_resolver }} valid=5s;
Expand All @@ -202,7 +202,7 @@
{% endif %}

{% if matrix_nginx_proxy_proxy_matrix_3pid_registration_enabled %}
location ~ ^/_matrix/client/r0/register/(email|msisdn)/requestToken$ {
location ~ ^/_matrix/client/(r0|v3)/register/(email|msisdn)/requestToken$ {
{% if matrix_nginx_proxy_enabled %}
{# Use the embedded DNS resolver in Docker containers to discover the service #}
resolver {{ matrix_nginx_proxy_http_level_resolver }} valid=5s;
Expand Down

0 comments on commit 5a2c9c7

Please sign in to comment.