From 5b23d3d06e0d907301d857797b329c22ddc7dd14 Mon Sep 17 00:00:00 2001 From: Luc-pascal Ceccaldi Date: Thu, 23 Sep 2021 07:49:52 +0000 Subject: [PATCH] Change listen address when running inside a Container to prevent Bad Gateway error --- conduit-example.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/conduit-example.toml b/conduit-example.toml index 80082568..4275f528 100644 --- a/conduit-example.toml +++ b/conduit-example.toml @@ -40,6 +40,7 @@ trusted_servers = ["matrix.org"] #workers = 4 # default: cpu core count * 2 address = "127.0.0.1" # This makes sure Conduit can only be reached using the reverse proxy +#address = "0.0.0.0" # If Conduit is running in a container, make sure the reverse proxy (ie. Traefik) can reach it. proxy = "none" # more examples can be found at src/database/proxy.rs:6