From 36cd8c3d3a48985d57df9946d38e0b9b51c384b9 Mon Sep 17 00:00:00 2001 From: gyurix Date: Wed, 29 Sep 2021 09:17:48 +0000 Subject: [PATCH] Minor haproxy related scheduling configuration changes. --- scripts/config_haproxy_create.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/config_haproxy_create.sh b/scripts/config_haproxy_create.sh index f62dd43..675c86f 100755 --- a/scripts/config_haproxy_create.sh +++ b/scripts/config_haproxy_create.sh @@ -9,10 +9,11 @@ PROXY_CONFIG_DIR=$PROXY_CONFIG_DIR cd /scripts file="$PROXY_DIR/haproxy.cfg" -global_http="global_http" -global_https="global_https" -cp -a haproxy_template.cfg $PROXY_DIR/haproxy.cfg +global_http="/scripts/global_http" +global_https="/scripts/global_https" + +cp -a /scripts/haproxy_template.cfg $PROXY_DIR/haproxy.cfg { @@ -124,4 +125,5 @@ for i in `ls $DOMAIN_DIR|cut -d / -f2` ; do fi done -} >> "$file" +} >> "$file"; +echo "$DOMAIN" >> $PROXY_DIR/new_config