[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: README
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: README |
Date: |
Thu, 13 Oct 2022 12:12:23 +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 a50340f README
a50340f is described below
commit a50340f4d97b8e34cff0488cf2845bb90e20d915
Author: MS <ms@taler.net>
AuthorDate: Thu Oct 13 12:09:52 2022 +0200
README
---
docker/hybrid/README | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 58 insertions(+), 2 deletions(-)
diff --git a/docker/hybrid/README b/docker/hybrid/README
index 01ad037..4af84f9 100644
--- a/docker/hybrid/README
+++ b/docker/hybrid/README
@@ -46,8 +46,8 @@ config/deployment.conf for an example.
From this folder, run:
$ docker-compose up --remove-orphans
-How to test
-===========
+How to test on localhost
+========================
From this folder, run:
@@ -55,3 +55,59 @@ From this folder, run:
The above test registers a new bank account to libEufin,
withdraw coins and spend them directly at the merchant backend.
+
+How to deploy to online sites
+=============================
+
+Assuming that TLS is already configured, the following
+Nginx configuration example deploys this sandbox under
+"example.com":
+
+ server {
+ server_name exchange.example.com;
+ listen 443 ssl;
+ listen [::]:443 ssl;
+ root /dev/null;
+
+ location / {
+ proxy_pass http://localhost:5555/;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ }
+ }
+
+ server {
+ server_name backend.example.com;
+ listen 443 ssl;
+ listen [::]:443 ssl;
+
+ location / {
+ proxy_set_header X-Forwarded-Host "backend.example.com";
+ proxy_set_header X-Forwarded-Proto "https";
+ proxy_set_header X-Forwarded-Prefix "/";
+ proxy_pass http://localhost:5556/;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ }
+ }
+
+ server {
+ server_name bank.example.com;
+ listen 443 ssl;
+ listen [::]:443 ssl;
+
+ location / {
+ proxy_set_header X-Forwarded-Host "bank.example.com";
+ proxy_set_header X-Forwarded-Proto "https";
+ proxy_set_header X-Forwarded-Prefix /;
+ proxy_pass http://localhost:15000/;
+ }
+ }
+
+Below is an example of a global configuration that
+sets the currency for the entire sandbox. Its file's
+path must be then exported via the TALER_DEPLOYMENT_CONFIG
+env variable (see "How to run" section above).
+
+ [taler-deployment]
+ currency = EUR
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-deployment] branch master updated: README,
gnunet <=