fix upstream config

This commit is contained in:
OCram85 2023-07-12 17:20:26 +02:00
parent d1e0d0860d
commit e54b744427

View File

@ -27,7 +27,7 @@ EOF
function addUpstreamConfig() { function addUpstreamConfig() {
[ -z "$UPSTREAM_PROXY_FILE" ] || export UPSTREAM_PROXY=$(cat $UPSTREAM_PROXY_FILE) [ -z "$UPSTREAM_PROXY_FILE" ] || export UPSTREAM_PROXY=$(cat $UPSTREAM_PROXY_FILE)
[ -z "$UPSTREAM_PROXY" ] || echo "upstream http $UPSTREAM_PROXY \".\"" >> "$CONFIG" [ -z "$UPSTREAM_PROXY" ] || echo "Upstream http $UPSTREAM_PROXY " >> "$CONFIG"
} }
function addFilterConfig() { function addFilterConfig() {