diff options
author | Florian Dold <florian@dold.me> | 2023-10-17 00:09:04 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-10-17 00:09:04 +0200 |
commit | 465f529917cf8f4c1896c3e5040f38ba920d6163 (patch) | |
tree | 2fba241552306c3bb9e1e722c6de00693f1a73fb | |
parent | 186119eafd54113effbeb3e23e90064b4315988d (diff) | |
download | deployment-465f529917cf8f4c1896c3e5040f38ba920d6163.tar.gz deployment-465f529917cf8f4c1896c3e5040f38ba920d6163.tar.bz2 deployment-465f529917cf8f4c1896c3e5040f38ba920d6163.zip |
WIP
-rwxr-xr-x | sandcastle-ng/scripts/setup-sandcastle.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sandcastle-ng/scripts/setup-sandcastle.sh b/sandcastle-ng/scripts/setup-sandcastle.sh index 1ffa0ec..9598949 100755 --- a/sandcastle-ng/scripts/setup-sandcastle.sh +++ b/sandcastle-ng/scripts/setup-sandcastle.sh @@ -101,7 +101,7 @@ https://$BANK_DOMAIN { reverse_proxy :8080 { # libeufin-bank should eventually not require this anymore, # but currently doesn't work without this header. - header_up X-Forwarded-Prefix "/" + header_up X-Forwarded-Prefix "" } } @@ -118,13 +118,21 @@ https://$MERCHANT_DOMAIN { # Services that only listen on unix domain sockets # are reverse-proxied to serve on a TCP port. -http://localhost:$PORT_INTERNAL_EXCHANGE { +:$PORT_INTERNAL_EXCHANGE { reverse_proxy unix//run/taler/exchange-httpd/exchange-http.sock } -http://localhost:$PORT_INTERNAL_MERCHANT { +:$PORT_INTERNAL_MERCHANT { reverse_proxy unix//run/taler/merchant-httpd/merchant-http.sock } + +:$PORT_INTERNAL_LIBEUFIN_BANK { + reverse_proxy :8080 { + # libeufin-bank should eventually not require this anymore, + # but currently doesn't work without this header. + header_up X-Forwarded-Prefix "" + } +} EOF cat <<EOF >> /etc/hosts |