libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit a0e91371bafea44f0abb528e6339500cfddbb47f
parent 082716f407eb9306d1cfa2cc3702e5b9ca9be2e3
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Thu, 30 Nov 2023 15:46:35 +0900

make nginx configuration coherent with libeufin-bank.conf

Diffstat:
Mdebian/changelog | 7+++++++
Mdebian/etc/libeufin/libeufin-bank.conf | 32++++++++++++++++++++++++++++----
Mdebian/etc/libeufin/libeufin-nexus.conf | 36++++++++++++++++++++++++++++++++----
Mdebian/etc/nginx/sites-available/libeufin-bank | 2+-
4 files changed, 68 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog @@ -1,3 +1,10 @@ +libeufin (0.9.3-3) unstable; urgency=medium + + * Proper setup for database sharing needed for currency conversion + * Coherent nginx configuration with default libeufin-bank configuration + + -- Christian Grothoff <grothoff@gnu.org> Wed, 30 Nov 2023 15:47:55 -0600 + libeufin (0.9.3-2) unstable; urgency=medium * Improved currency conversion implementation diff --git a/debian/etc/libeufin/libeufin-bank.conf b/debian/etc/libeufin/libeufin-bank.conf @@ -1,6 +1,30 @@ # This is the main configuration entrypoint for the libeufin-bank. -# FIXME: provide sane template here with -# all applicable options and make sure it is -# consistent with the reverse proxy configuration -# deployed by the Debian package +[libeufin-bank] + +# Internal currency of the libeufin-bank +CURRENCY = KUDOS + +# Default debt limit for newly created customer accounts +# DEFAULT_CUSTOMER_DEBT_LIMIT = KUDOS:0 + +# Value of the registration bonus for new users. Default is "CURRENCY:0" +# REGISTRATION_BONUS = KUDOS:0 + +# Allow account registration by anyone. +# ALLOW_REGISTRATION = yes + +# Allow an account to delete itself +# ALLOW_ACCOUNT_DELETION = yes + +# Path to TAN challenge transmission script via sms. If not specified, this TAN channel wil be unuspported. +TAN_SMS = + +# Path to TAN challenge transmission script via email. If not specified, this TAN channel wil be unuspported. +TAN_EMAIL = + +# Where "libeufin-bank serve" serves its API +SERVE = tcp +PORT = 9099 + + diff --git a/debian/etc/libeufin/libeufin-nexus.conf b/debian/etc/libeufin/libeufin-nexus.conf @@ -1,6 +1,34 @@ # This is the main configuration entrypoint for the libeufin-nexus. -# FIXME: provide sane template here with -# all applicable options and make sure it is -# consistent with the reverse proxy configuration -# deployed by the Debian package +[nexus-ebics] + +# Currency used by the bank where Nexus is client. +CURRENCY = KUDOS + +# Base URL of the bank server. +HOST_BASE_URL = http://ebics.bank.com/ + +# EBICS host ID. +HOST_ID = mybank + +# EBICS user ID, as assigned by the bank. +USER_ID = myuser + + +# EBICS partner ID, as assigned by the bank. +PARTNER_ID = myorg + +# EBICS partner ID, as assigned by the bank. +SYSTEM_ID = banksys + +IBAN = CH9789144829733648596 +BIC = POFICHBE +NAME = LibEuFin + + +[nexus-fetch] +FREQUENCY = 30s + +[nexus-submit] +FREQUENCY = 30s + diff --git a/debian/etc/nginx/sites-available/libeufin-bank b/debian/etc/nginx/sites-available/libeufin-bank @@ -24,7 +24,7 @@ server { proxy_set_header X-Forwarded-Prefix /; # FIXME: should use UNIX domain socket once # supported by libeufin-bank! - proxy_pass http://localhost:5016; + proxy_pass http://localhost:9099; } }