From a2f79f8167b50b6835585f2ef0bce38f219638fe Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 8 Jun 2018 11:03:18 +0200 Subject: Backoffice config. --- config/generate-config | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/generate-config b/config/generate-config index 48bcaab..67e2011 100755 --- 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") -- cgit v1.2.3