diff options
author | MS <ms@taler.net> | 2022-10-27 16:17:07 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2022-10-27 16:17:07 +0200 |
commit | 8ce33e270571ec32612d390c755cd0dd6e1aba51 (patch) | |
tree | 9de972d6b25de526f566e7cd30ec97389fe19d6a /docker/hybrid | |
parent | f241499e62cf3c1611f653948ded43c08e077ce4 (diff) | |
download | deployment-8ce33e270571ec32612d390c755cd0dd6e1aba51.tar.gz deployment-8ce33e270571ec32612d390c755cd0dd6e1aba51.tar.bz2 deployment-8ce33e270571ec32612d390c755cd0dd6e1aba51.zip |
readme
Diffstat (limited to 'docker/hybrid')
-rw-r--r-- | docker/hybrid/README | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/docker/hybrid/README b/docker/hybrid/README index 8621947..b7c8f64 100644 --- 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/; + } + } |