|
@@ -53,7 +53,7 @@ class HTTPConfig(BaseConfig):
|
|
|
)
|
|
|
self.replication_port = cfg.getint("http", "replication.https.port")
|
|
|
|
|
|
- self.obey_x_forwarded_for = cfg.get("http", "obey_x_forwarded_for")
|
|
|
+ self.obey_x_forwarded_for = cfg.getboolean("http", "obey_x_forwarded_for")
|
|
|
|
|
|
self.verify_federation_certs = cfg.getboolean("http", "federation.verifycerts")
|
|
|
|