diff options
-rwxr-xr-x | config/generate-config | 12 |
1 files changed, 8 insertions, 4 deletions
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") |