[Top][All Lists]

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

[taler-deployment] branch master updated: netzbon: always create symlink

From: gnunet
Subject: [taler-deployment] branch master updated: netzbon: always create symlinks
Date: Wed, 12 Apr 2023 15:05:29 +0200

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

dold pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new db2490a  netzbon: always create symlinks
db2490a is described below

commit db2490aef2993025b88b6ce8704bfeff327200d8
Author: Florian Dold <>
AuthorDate: Wed Apr 12 15:05:27 2023 +0200

    netzbon: always create symlinks
 netzbon/ | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/netzbon/ b/netzbon/
index bca8bee..b803c43 100755
--- a/netzbon/
+++ b/netzbon/
@@ -8,23 +8,15 @@ envsubst <nginx-conf/backend.taler-nginx.conf 
 envsubst <nginx-conf/bank.taler-nginx.conf 
 envsubst <nginx-conf/exchange.taler-nginx.conf 
-# Create nginx symlinks, just once
+# Create nginx symlinks
-if [ ! -f /etc/nginx/sites-enabled/backend."${DOMAIN_NAME}" ]; then
-  ln -s /etc/nginx/sites-available/backend."${DOMAIN_NAME}" 
-if [ ! -f /etc/nginx/sites-enabled/bank."${DOMAIN_NAME}" ]; then
-  ln -s /etc/nginx/sites-available/bank."${DOMAIN_NAME}" 
-if [ ! -f /etc/nginx/sites-enabled/exchange."${DOMAIN_NAME}" ]; then
-  ln -s /etc/nginx/sites-available/exchange."${DOMAIN_NAME}" 
+ln -sf /etc/nginx/sites-available/backend."${DOMAIN_NAME}" 
+ln -sf /etc/nginx/sites-available/bank."${DOMAIN_NAME}" 
+ln -sf /etc/nginx/sites-available/exchange."${DOMAIN_NAME}" 
 if test "${ENABLE_TLS}" == "y"; then
-  # patch to: Replace http to https, to avoid error of mixed content
+  # Replace http with https in the demobank-ui configuration
   sed -i "s/http:\/\/bank./https:\/\/bank./g" 

To stop receiving notification emails like this one, please contact

reply via email to

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