summaryrefslogtreecommitdiff
path: root/src/exchange/exchange.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-02 06:26:12 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-02 06:26:12 +0100
commit397c718809f2f53f3e0714ea6433083ea7379124 (patch)
tree1a16c756aa9c43c6d1f49c9ae4366b3342a3cacd /src/exchange/exchange.conf
parent4d8942b8188e5d2ddd6d3d8a31b141e59a82f771 (diff)
downloadexchange-397c718809f2f53f3e0714ea6433083ea7379124.tar.gz
exchange-397c718809f2f53f3e0714ea6433083ea7379124.tar.bz2
exchange-397c718809f2f53f3e0714ea6433083ea7379124.zip
implementing #4921: add base URL to wire transfers
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