commit 180732b5b93205b2a71790dd7429d9dab8011935 parent 08e4af391af8adda34b640df2bbf926232f6defa Author: Florian Dold <florian@dold.me> Date: Thu, 12 Dec 2024 15:47:11 +0100 fix caddy config for non-tls deployment Diffstat:
| M | scripts/demo/setup-sandcastle.sh | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh @@ -255,6 +255,7 @@ https://$CHALLENGER_DOMAIN { EOF else + # Config for HTTP without TLS. cat <<EOF >>/etc/caddy/Caddyfile @@ -271,10 +272,7 @@ http://$EXCHANGE_DOMAIN$PORT_SUFFIX { } http://$MERCHANT_DOMAIN$PORT_SUFFIX { - reverse_proxy unix//run/taler-merchant/httpd/merchant-http.sock { - # Set this, or otherwise wrong taler://pay URIs will be generated. - header_up X-Forwarded-Proto "https" - } + reverse_proxy unix//run/taler-merchant/httpd/merchant-http.sock } http://$AUDITOR_DOMAIN$PORT_SUFFIX {