summary refs log tree commit diff
path: root/docs/systemd-with-workers
diff options
context:
space:
mode:
authorvillepeh <100730729+villepeh@users.noreply.github.com>2023-01-13 16:06:58 +0200
committerGitHub <noreply@github.com>2023-01-13 14:06:58 +0000
commitd344bc8b6ea14210614845f4e0af776013f86459 (patch)
treec19fa2334b6bf2494592f3e50e36dd73b16e0f07 /docs/systemd-with-workers
parentAdd some clarifying comments and refactor a portion of the `Keyring` class fo... (diff)
downloadsynapse-d344bc8b6ea14210614845f4e0af776013f86459.tar.xz
Include `x_forwarded` in workers example configs (#14667)
Diffstat (limited to 'docs/systemd-with-workers')
-rw-r--r--docs/systemd-with-workers/workers/event_persister.yaml1
-rw-r--r--docs/systemd-with-workers/workers/generic_worker.yaml3
-rw-r--r--docs/systemd-with-workers/workers/media_worker.yaml1
3 files changed, 3 insertions, 2 deletions
diff --git a/docs/systemd-with-workers/workers/event_persister.yaml b/docs/systemd-with-workers/workers/event_persister.yaml
index 9bc6997bad..c11d5897b1 100644
--- a/docs/systemd-with-workers/workers/event_persister.yaml
+++ b/docs/systemd-with-workers/workers/event_persister.yaml
@@ -17,6 +17,7 @@ worker_listeners:
   #
   #- type: http
   #  port: 8035
+  #  x_forwarded: true
   #  resources:
   #    - names: [client]
 
diff --git a/docs/systemd-with-workers/workers/generic_worker.yaml b/docs/systemd-with-workers/workers/generic_worker.yaml
index 6e7b60886e..a858f99ed1 100644
--- a/docs/systemd-with-workers/workers/generic_worker.yaml
+++ b/docs/systemd-with-workers/workers/generic_worker.yaml
@@ -5,11 +5,10 @@ worker_name: generic_worker1
 worker_replication_host: 127.0.0.1
 worker_replication_http_port: 9093
 
-worker_main_http_uri: http://localhost:8008/
-
 worker_listeners:
   - type: http
     port: 8083
+    x_forwarded: true
     resources:
       - names: [client, federation]
 
diff --git a/docs/systemd-with-workers/workers/media_worker.yaml b/docs/systemd-with-workers/workers/media_worker.yaml
index eb34d12492..8ad046f11a 100644
--- a/docs/systemd-with-workers/workers/media_worker.yaml
+++ b/docs/systemd-with-workers/workers/media_worker.yaml
@@ -8,6 +8,7 @@ worker_replication_http_port: 9093
 worker_listeners:
   - type: http
     port: 8085
+    x_forwarded: true
     resources:
       - names: [media]