gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] 15/25: Place sed replacement --only within TLS


From: gnunet
Subject: [taler-deployment] 15/25: Place sed replacement --only within TLS
Date: Thu, 06 Apr 2023 14:11:39 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository deployment.

commit 8b6f5daeefa640e97aeab12d49e0a7524af2807c
Author: Javier Sepulveda <javier.sepulveda@uv.es>
AuthorDate: Wed Mar 29 08:52:19 2023 +0200

    Place sed replacement --only within TLS
---
 .../new_nginx_listen_80_certbot/config_nginx.sh                  | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/netzbon/nginx_configurations/new_nginx_listen_80_certbot/config_nginx.sh 
b/netzbon/nginx_configurations/new_nginx_listen_80_certbot/config_nginx.sh
index f4d7ddc..6d03f77 100755
--- a/netzbon/nginx_configurations/new_nginx_listen_80_certbot/config_nginx.sh
+++ b/netzbon/nginx_configurations/new_nginx_listen_80_certbot/config_nginx.sh
@@ -8,12 +8,15 @@ envsubst <backend.taler-nginx.conf > 
/etc/nginx/sites-available/backend.${DOMAIN
 envsubst <bank.taler-nginx.conf > 
/etc/nginx/sites-available/bank.${DOMAIN_NAME}
 envsubst <exchange.taler-nginx.conf > 
/etc/nginx/sites-available/exchange.${DOMAIN_NAME}
 
-# Replace http to https, to avoid error of mixed content
+if test ${ENABLE_TLS} == "y"
+then
+
+# patch to: Replace http to https, to avoid error of mixed content
 
 sed -i "s/http:\/\/bank./https:\/\/bank./g" 
/etc/libeufin/demobank-ui-settings.js
 
-if test ${ENABLE_TLS} == "y"
-then
+# Certbot
+
     say "Obtaining TLS certificates"
 
     certbot -d ${DOMAIN_NAME} \

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]