summaryrefslogtreecommitdiff
path: root/src/exchange/exchange.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-13 16:36:10 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-13 16:36:10 +0200
commit6cd71bebbf143b62c8b99adcc51e34898fd11512 (patch)
treea225894da263371453482578fd678471ea7ea7d8 /src/exchange/exchange.conf
parent2a58f470afb74046c811a4ee521176af83a52588 (diff)
downloadexchange-6cd71bebbf143b62c8b99adcc51e34898fd11512.tar.gz
exchange-6cd71bebbf143b62c8b99adcc51e34898fd11512.tar.bz2
exchange-6cd71bebbf143b62c8b99adcc51e34898fd11512.zip
implement #4569
Diffstat (limited to 'src/exchange/exchange.conf')
-rw-r--r--src/exchange/exchange.conf32
1 files changed, 24 insertions, 8 deletions
diff --git a/src/exchange/exchange.conf b/src/exchange/exchange.conf
index afb5b8fae..333e9a58a 100644
--- a/src/exchange/exchange.conf
+++ b/src/exchange/exchange.conf
@@ -11,6 +11,20 @@ KEYDIR = ${TALER_DATA_HOME}/exchange/live-keys/
# the actual coin operations.
# WIREFORMAT = test
+# Master public key used to sign the exchange's various keys
+# MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
+
+# How to access our database
+DB = postgres
+
+# Is this is a testcase, use transient DB actions?
+# TESTRUN = YES
+
+# Where do we store the offline master private key of the exchange?
+MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv
+
+
+# Network configuration for the normal API/service HTTP server
# serve via tcp socket (on PORT)
SERVE = tcp
@@ -22,15 +36,17 @@ UNIXPATH_MODE = 660
# HTTP port the exchange listens to
PORT = 8081
-# Master public key used to sign the exchange's various keys
-# MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
-# How to access our database
-DB = postgres
+[exchange-admin]
+# Network configuration for the /admin HTTP server
-# Is this is a testcase, use transient DB actions?
-# TESTRUN = YES
+# serve via tcp socket (on PORT)
+SERVE = tcp
-# Where do we store the offline master private key of the exchange?
-MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv
+# Unix domain socket to listen on,
+# only effective with "SERVE = unix"
+UNIXPATH = ${TALER_RUNTIME_DIR}/exchange-admin.http
+UNIXPATH_MODE = 660
+# HTTP port the exchange listens to
+PORT = 18080