Update some Synapse documentation URLs

This commit is contained in:
Slavi Pantaleev 2022-09-15 10:46:17 +03:00
parent 109e1addb8
commit ef112181a1

View File

@ -81,7 +81,7 @@ server {
{# Workers redirects BEGIN #} {# Workers redirects BEGIN #}
{% if generic_workers | length > 0 %} {% if generic_workers | length > 0 %}
# https://github.com/matrix-org/synapse/blob/master/docs/workers.md#synapseappgeneric_worker # https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
{{ render_locations_to_upstream(matrix_nginx_proxy_synapse_generic_worker_client_server_locations, 'generic_workers_upstream') }} {{ render_locations_to_upstream(matrix_nginx_proxy_synapse_generic_worker_client_server_locations, 'generic_workers_upstream') }}
{% endif %} {% endif %}
@ -111,7 +111,7 @@ server {
{% endif %} {% endif %}
{% if media_repository_workers | length > 0 %} {% if media_repository_workers | length > 0 %}
# https://github.com/matrix-org/synapse/blob/master/docs/workers.md#synapseappmedia_repository # https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository
{% for location in matrix_nginx_proxy_synapse_media_repository_locations %} {% for location in matrix_nginx_proxy_synapse_media_repository_locations %}
location ~ {{ location }} { location ~ {{ location }} {
proxy_pass http://media_repository_workers_upstream$request_uri; proxy_pass http://media_repository_workers_upstream$request_uri;
@ -182,11 +182,11 @@ server {
{% if matrix_nginx_proxy_synapse_workers_enabled %} {% if matrix_nginx_proxy_synapse_workers_enabled %}
{% if generic_workers | length > 0 %} {% if generic_workers | length > 0 %}
# https://github.com/matrix-org/synapse/blob/master/docs/workers.md#synapseappgeneric_worker # https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
{{ render_locations_to_upstream(matrix_nginx_proxy_synapse_generic_worker_federation_locations, 'generic_workers_upstream') }} {{ render_locations_to_upstream(matrix_nginx_proxy_synapse_generic_worker_federation_locations, 'generic_workers_upstream') }}
{% endif %} {% endif %}
{% if media_repository_workers | length > 0 %} {% if media_repository_workers | length > 0 %}
# https://github.com/matrix-org/synapse/blob/master/docs/workers.md#synapseappmedia_repository # https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository
{% for location in matrix_nginx_proxy_synapse_media_repository_locations %} {% for location in matrix_nginx_proxy_synapse_media_repository_locations %}
location ~ {{ location }} { location ~ {{ location }} {
proxy_pass http://media_repository_workers_upstream$request_uri; proxy_pass http://media_repository_workers_upstream$request_uri;