commit a2f79f8167b50b6835585f2ef0bce38f219638fe
parent d2cda72c335baa7c2109536e7714ceabb4d1a5bb
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 8 Jun 2018 11:03:18 +0200
Backoffice config.
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/config/generate-config b/config/generate-config
@@ -87,11 +87,15 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("playground", "uwsgi_unixpath_mode", "660")
if standalone:
- cfg_put("backoffice-blog", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
- cfg_put("backoffice-donations", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
+ cfg_put("backoffice-all", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
else:
- cfg_put("backoffice-blog", "backend", "https://backend.{}.taler.net/".format(envname))
- cfg_put("backoffice-donations", "backend", "https://backend.{}.taler.net/".format(envname))
+ cfg_put("backoffice-all", "backend", "https://backend.{}.taler.net/".format(envname))
+
+ # Keep only one back-office service for all instances, for simplicity.
+ cfg_put("backoffice-all", "uwsgi_serve", "unix")
+ cfg_put("backoffice-all", "uwsgi_unixpath_mode", "660")
+ cfg_put("backoffice-all", "uwsgi_unixpath", "$HOME/sockets/backoffice.uwsgi")
+ cfg_put("backoffice-all", "instances", "FSF default Tor")
cfg_put("merchant", "wireformat", "test")
cfg_put("merchant", "serve", "unix")