summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-12 17:13:23 +0100
committerErik Johnston <erik@matrix.org>2015-06-12 17:13:23 +0100
commit9c5fc81c2ddd29eac62d368e7f8d24972f8894a6 (patch)
tree3ad573b34ebe9e185fca9d6546366c3df3cb33ab /synapse/config/server.py
parentUse config.listeners (diff)
downloadsynapse-9c5fc81c2ddd29eac62d368e7f8d24972f8894a6.tar.xz
Correctly handle x_forwaded listener option
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 26017c7efa..9dab167b21 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -157,6 +157,8 @@ class ServerConfig(Config):
             bind_address: ''
             type: http
 
+            x_forwarded: False
+
             resources:
               - names: [client, webclient]
                 compress: true