Minor haproxy related scheduling configuration changes.

This commit is contained in:
2021-09-29 09:17:48 +00:00
parent ffa3b0eacf
commit 36cd8c3d3a

View File

@@ -9,10 +9,11 @@ PROXY_CONFIG_DIR=$PROXY_CONFIG_DIR
cd /scripts cd /scripts
file="$PROXY_DIR/haproxy.cfg" 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 fi
done done
} >> "$file" } >> "$file";
echo "$DOMAIN" >> $PROXY_DIR/new_config