gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: nginx dual stack


From: gnunet
Subject: [taler-deployment] branch master updated: nginx dual stack
Date: Fri, 29 Apr 2022 08:45:57 +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 d4b82cc  nginx dual stack
d4b82cc is described below

commit d4b82ccab8a46dd3256b5caba82a6cb90e6b7934
Author: ms <ms@taler.net>
AuthorDate: Fri Apr 29 08:44:56 2022 +0200

    nginx dual stack
---
 bin/taler-local | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/taler-local b/bin/taler-local
index 131823a..80bf4f9 100755
--- a/bin/taler-local
+++ b/bin/taler-local
@@ -1358,16 +1358,17 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
               f"access_log {LOG_DIR / 'nginx.log'};\n"
               "server {\n"
                 f"listen {REV_PROXY_PORT};\n"
+                f"listen [::]:{REV_PROXY_PORT};\n"
                 "location / {\n"
                   "return 200 'Hello, I am Nginx - proxying taler-local\n';\n"
                 "}\n"
                 "location ~* ^/(?<component>[a-z\-]+)(/(?<taler_uri>.*))? {\n"
-                f"proxy_pass 
http://unix:{UNIX_SOCKETS_DIR}/$component.sock:/$taler_uri?$args;\n";
                 "proxy_redirect off;\n"
                 "proxy_set_header X-Forwarded-Prefix /$component;\n"
                 f"proxy_set_header X-Forwarded-Host {x_forwarded_host};\n"
                 f"proxy_set_header X-Forwarded-Proto {x_forwarded_proto};\n"
                 f"client_body_temp_path /tmp/taler-local-nginx;\n"
+                f"proxy_pass 
http://unix:{UNIX_SOCKETS_DIR}/$component.sock:/$taler_uri?$args;\n";
                 "}\n"
               "}\n"
             "}\n"

-- 
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]