commit 04b77249450158e202fb5c8e173945e13fe36041 parent b9051030a590ffd60bd4b6efd2ad53ffb34b1324 Author: MS <ms@taler.net> Date: Tue, 1 Nov 2022 16:29:45 +0100 readme Diffstat:
| M | docker/hybrid/README | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/docker/hybrid/README b/docker/hybrid/README @@ -119,10 +119,12 @@ Nginx configuration example deploys this sandbox under listen 443 ssl; listen [::]:443 ssl; - # redirect '/' to /demobanks/default; - rewrite ^/$ https://bank.example.com/demobanks/default; - rewrite ^/(..)/$ https://bank.example.com/demobanks/default; - + location = / { + # Serves the SPA + index index.html; + proxy_pass http://localhost:15002/; + } + location / { proxy_set_header X-Forwarded-Host "bank.example.com"; proxy_set_header X-Forwarded-Proto "https";