generated from Templates/Baseline
fix upstream config
This commit is contained in:
parent
d1e0d0860d
commit
e54b744427
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user