gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: proxy_pass to libEufin over HT


From: gnunet
Subject: [taler-deployment] branch master updated: proxy_pass to libEufin over HTTP
Date: Wed, 24 Aug 2022 16:52:35 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new f4b8c1a  proxy_pass to libEufin over HTTP
f4b8c1a is described below

commit f4b8c1aa4920d1c5b667c309a802f0a15164e528
Author: MS <ms@taler.net>
AuthorDate: Wed Aug 24 16:52:31 2022 +0200

    proxy_pass to libEufin over HTTP
---
 bin/taler-gv | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/bin/taler-gv b/bin/taler-gv
index d00e4bd..1ac1ff5 100755
--- a/bin/taler-gv
+++ b/bin/taler-gv
@@ -1167,17 +1167,23 @@ def prepare(postgres_db_name):
         with open(TALER_UNIT_FILES_DIR / "taler-local-postgres.env", "w") as 
postgres_env:
             postgres_env.write(f"PGPORT={os.environ.get('PGPORT')}")
 
+    # FIXME/REMINDER: libEufin needs to enable writes for the
+    # domain socket's group, otherwise Nginx won't be able to
+    # proxy_pass requests.
+
     # euFin unit files.
     with open(TALER_UNIT_FILES_DIR / "taler-local-sandbox.service", "w") as 
sandbox_unit:
         sandbox_unit.write(unit_file_content(
             description = "euFin Sandbox",
-            cmd = f"{TALER_PREFIX}/bin/libeufin-sandbox serve 
--with-unix-socket {UNIX_SOCKETS_DIR / 'bank.http'}",
+            cmd = f"{TALER_PREFIX}/bin/libeufin-sandbox serve", # takes port 
5000
+            # cmd = f"{TALER_PREFIX}/bin/libeufin-sandbox serve 
--with-unix-socket {UNIX_SOCKETS_DIR / 'bank.http'}",
             env = TALER_UNIT_FILES_DIR / "taler-local-sandbox.env"
         ))
     with open(TALER_UNIT_FILES_DIR / "taler-local-nexus.service", "w") as 
nexus_unit:
         nexus_unit.write(unit_file_content(
             description = "euFin Nexus",
-            cmd = f"{TALER_PREFIX}/bin/libeufin-nexus serve --with-unix-socket 
{UNIX_SOCKETS_DIR / 'nexus.http'}",
+            cmd = f"{TALER_PREFIX}/bin/libeufin-nexus serve", # takes port 5001
+            # cmd = f"{TALER_PREFIX}/bin/libeufin-nexus serve 
--with-unix-socket {UNIX_SOCKETS_DIR / 'nexus.http'}",
             env = TALER_UNIT_FILES_DIR / "taler-local-nexus.env"
         ))
     # euFin env files.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]