summaryrefslogtreecommitdiff
path: root/src/exchange/exchange.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/exchange.conf')
-rw-r--r--src/exchange/exchange.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exchange/exchange.conf b/src/exchange/exchange.conf
index 39151ea67..a226d4149 100644
--- a/src/exchange/exchange.conf
+++ b/src/exchange/exchange.conf
@@ -33,6 +33,14 @@ UNIXPATH_MODE = 660
# HTTP port the exchange listens to
PORT = 8081
+# Base URL of the exchange (public-facing). Due to reverse proxies,
+# this may or may not match our port or hostname at all and can thus
+# not be determined automatically. Note that a globally reachable name
+# is required, so 'localhost' will not work except for testing.
+# Required for wire transfers as we need to include it in the wire
+# transfers to enable tracking.
+BASE_URL = http://localhost:8081/
+
[exchange-admin]
# Network configuration for the /admin HTTP server