summary refs log tree commit diff
path: root/develop/print.html
diff options
context:
space:
mode:
Diffstat (limited to 'develop/print.html')
-rw-r--r--develop/print.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/develop/print.html b/develop/print.html

index 9bde0f06f9..182d319659 100644 --- a/develop/print.html +++ b/develop/print.html
@@ -1018,6 +1018,10 @@ frontend matrix-federation backend matrix server matrix 127.0.0.1:8008 </code></pre> +<p>Example configuration, if using a UNIX socket. The configuration lines regarding the frontends do not need to be modified.</p> +<pre><code>backend matrix + server matrix unix@/run/synapse/main_public.sock +</code></pre> <p><a href="delegate.html">Delegation</a> example:</p> <pre><code>frontend https acl matrix-well-known-client-path path /.well-known/matrix/client @@ -4204,7 +4208,7 @@ for <a href="usage/configuration/../../workers.html">workers</a> and containers # Note that x_forwarded will default to true, when using a UNIX socket. Please see # https://matrix-org.github.io/synapse/latest/reverse_proxy.html. # - - path: /var/run/synapse/main_public.sock + - path: /run/synapse/main_public.sock type: http resources: - names: [client, federation] @@ -7338,9 +7342,9 @@ declared inside the <code>listener</code> block for a <code>replication</code> l <p>Example configuration(#2, for UNIX sockets):</p> <pre><code class="language-yaml">instance_map: main: - path: /var/run/synapse/main_replication.sock + path: /run/synapse/main_replication.sock worker1: - path: /var/run/synapse/worker1_replication.sock + path: /run/synapse/worker1_replication.sock </code></pre> <hr /> <h3 id="stream_writers"><a class="header" href="#stream_writers"><code>stream_writers</code></a></h3> @@ -7499,13 +7503,13 @@ requests from other workers.</p> <p>Example configuration(#2, using UNIX sockets with a <code>replication</code> listener):</p> <pre><code class="language-yaml">worker_listeners: - type: http - path: /var/run/synapse/worker_public.sock + path: /run/synapse/worker_replication.sock resources: - - names: [client, federation] + - names: [replication] - type: http - path: /var/run/synapse/worker_replication.sock + path: /run/synapse/worker_public.sock resources: - - names: [replication] + - names: [client, federation] </code></pre> <hr /> <h3 id="worker_manhole"><a class="header" href="#worker_manhole"><code>worker_manhole</code></a></h3>