summary refs log tree commit diff
path: root/develop/workers.html
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2021-11-01 11:36:20 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2021-11-01 11:36:20 +0000
commit6b78680875d9e721d46e4f3d34047c6a3fbd2f33 (patch)
treed64455b2305504485a55d2fec294620c72e6398d /develop/workers.html
parentdeploy: e320f5dba32f5b5818b6d5a0059ae388430b9a72 (diff)
downloadsynapse-6b78680875d9e721d46e4f3d34047c6a3fbd2f33.tar.xz
deploy: ece84f2c450d986e54acc80971225fb02f4e1d05
Diffstat (limited to 'develop/workers.html')
-rw-r--r--develop/workers.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/develop/workers.html b/develop/workers.html
index 44b2ceab18..e33576bfc9 100644
--- a/develop/workers.html
+++ b/develop/workers.html
@@ -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: &quot;media-repository-1&quot;
+<pre><code class="language-yaml">media_instance_running_background_jobs: &quot;media-repository-1&quot;
 </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