commit 8ce33e270571ec32612d390c755cd0dd6e1aba51 parent f241499e62cf3c1611f653948ded43c08e077ce4 Author: MS <ms@taler.net> Date: Thu, 27 Oct 2022 16:17:07 +0200 readme Diffstat:
| M | docker/hybrid/README | | | 55 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 55 insertions(+), 0 deletions(-)
diff --git a/docker/hybrid/README b/docker/hybrid/README @@ -55,6 +55,11 @@ run the following command to export database, key material, and logs: $ ./backup.sh +The following command imports a TAR backup into +the Docker volumes. From this directory: + + $ ./import-backup.sh + Run --- @@ -121,3 +126,53 @@ Nginx configuration example deploys this sandbox under proxy_pass http://localhost:15000/; } } + + server { + server_name blog.example.com; + listen 443 ssl; + listen [::]:443 ssl; + + location / { + proxy_set_header X-Forwarded-Host "blog.example.com"; + proxy_set_header X-Forwarded-Proto "https"; + proxy_set_header X-Forwarded-Prefix /; + proxy_pass http://localhost:5559/; + } + } + + server { + server_name donations.example.com; + listen 443 ssl; + listen [::]:443 ssl; + + location / { + proxy_set_header X-Forwarded-Host "donations.example.com"; + proxy_set_header X-Forwarded-Proto "https"; + proxy_set_header X-Forwarded-Prefix /; + proxy_pass http://localhost:5560/; + } + } + + server { + server_name survey.example.com; + listen 443 ssl; + listen [::]:443 ssl; + + location / { + proxy_set_header X-Forwarded-Host "survey.example.com"; + proxy_set_header X-Forwarded-Proto "https"; + proxy_set_header X-Forwarded-Prefix /; + proxy_pass http://localhost:5561/; + } + } + + # Landing page that explains the demo. + server { + server_name intro.example.com; + listen 443 ssl; + listen [::]:443 ssl; + + location / { + proxy_pass http://localhost:5562/; + } + }