mirror of
https://github.com/element-hq/synapse.git
synced 2026-06-07 04:31:53 +00:00
deploy: ece84f2c45
This commit is contained in:
@@ -531,16 +531,16 @@ media repository. Note that doing so will prevent the main process from being
|
||||
able to handle the above endpoints.</p>
|
||||
<p>In the <code>media_repository</code> worker configuration file, configure the http listener to
|
||||
expose the <code>media</code> resource. For example:</p>
|
||||
<pre><code class="language-yaml"> worker_listeners:
|
||||
- type: http
|
||||
port: 8085
|
||||
resources:
|
||||
- names:
|
||||
- media
|
||||
<pre><code class="language-yaml">worker_listeners:
|
||||
- type: http
|
||||
port: 8085
|
||||
resources:
|
||||
- names:
|
||||
- media
|
||||
</code></pre>
|
||||
<p>Note that if running multiple media repositories they must be on the same server
|
||||
and you must configure a single instance to run the background tasks, e.g.:</p>
|
||||
<pre><code class="language-yaml"> media_instance_running_background_jobs: "media-repository-1"
|
||||
<pre><code class="language-yaml">media_instance_running_background_jobs: "media-repository-1"
|
||||
</code></pre>
|
||||
<p>Note that if a reverse proxy is used , then <code>/_matrix/media/</code> must be routed for both inbound client and federation requests (if they are handled separately).</p>
|
||||
<h3 id="synapseappuser_dir"><a class="header" href="#synapseappuser_dir"><code>synapse.app.user_dir</code></a></h3>
|
||||
@@ -567,7 +567,7 @@ endpoints matching the following regular expressions:</p>
|
||||
must therefore be configured with the location of the main instance, via
|
||||
the <code>worker_main_http_uri</code> setting in the <code>frontend_proxy</code> worker configuration
|
||||
file. For example:</p>
|
||||
<pre><code>worker_main_http_uri: http://127.0.0.1:8008
|
||||
<pre><code class="language-yaml">worker_main_http_uri: http://127.0.0.1:8008
|
||||
</code></pre>
|
||||
<h3 id="historical-apps"><a class="header" href="#historical-apps">Historical apps</a></h3>
|
||||
<p><em>Note:</em> Historically there used to be more apps, however they have been
|
||||
|
||||
Reference in New Issue
Block a user