gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: subtitute all localhosts


From: gnunet
Subject: [taler-deployment] branch master updated: subtitute all localhosts
Date: Mon, 06 Mar 2023 20:13:59 +0100

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

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new a30235e  subtitute all localhosts
a30235e is described below

commit a30235e4b5ac7676f576c867e9d705c5dc970e39
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Mar 6 20:13:50 2023 +0100

    subtitute all localhosts
---
 netzbon/config_nginx.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/netzbon/config_nginx.sh b/netzbon/config_nginx.sh
index 6cb0353..1d355fd 100755
--- a/netzbon/config_nginx.sh
+++ b/netzbon/config_nginx.sh
@@ -26,22 +26,21 @@ SITES_AVAILABLE_DIR=/etc/nginx/sites-available
 SITES_ENABLED_DIR=/etc/nginx/sites-enabled
 
 cat ${SITES_AVAILABLE_DIR}/taler-exchange \
-  | sed -e "s/server_name localhost/server_name exchange.${DOMAIN_NAME}/g" \
+  | sed -e "s/localhost/exchange.${DOMAIN_NAME}/g" \
   | sed -e "s/location \/taler-exchange\//location \//g" \
-  | sed -e "s/\"localhost\"/\"exchange.${DOMAIN_NAME}\"/g" \
   > ${SITES_AVAILABLE_DIR}/taler-exchange.${DOMAIN_NAME}
 rm -f ${SITES_ENABLED_DIR}/exchange.${DOMAIN_NAME}
 ln -s ${SITES_AVAILABLE_DIR}/taler-exchange.${DOMAIN_NAME} 
${SITES_ENABLED_DIR}/exchange.${DOMAIN_NAME}
 
 cat ${SITES_AVAILABLE_DIR}/taler-merchant \
-    | sed -e "s/server_name localhost/server_name backend.${DOMAIN_NAME}/g" \
+    | sed -e "s/localhost/backend.${DOMAIN_NAME}/g" \
     | sed -e "s/location \/taler-merchant\//location \//g" \
     > ${SITES_AVAILABLE_DIR}/taler-merchant.${DOMAIN_NAME}
 rm -f ${SITES_ENABLED_DIR}/backend.${DOMAIN_NAME}
 ln -s ${SITES_AVAILABLE_DIR}/taler-merchant.${DOMAIN_NAME} 
${SITES_ENABLED_DIR}/backend.${DOMAIN_NAME}
 
 cat ${SITES_AVAILABLE_DIR}/libeufin-sandbox \
-    | sed -e "s/server_name localhost/server_name bank.${DOMAIN_NAME}/g" \
+    | sed -e "s/localhost/bank.${DOMAIN_NAME}/g" \
     > ${SITES_AVAILABLE_DIR}/libeufin-sandbox.${DOMAIN_NAME}
 rm -f ${SITES_ENABLED_DIR}/bank.${DOMAIN_NAME}
 ln -s ${SITES_AVAILABLE_DIR}/libeufin-sandbox.${DOMAIN_NAME} 
${SITES_ENABLED_DIR}/bank.${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]