tests: prepare tinyproxy for filter file usage in tests.
Michael
This commit is contained in:
parent
574a65c28e
commit
f648d82edc
@ -31,8 +31,9 @@ TINYPROXY_PID_DIR=$TESTENV_DIR/var/run/tinyproxy
|
||||
TINYPROXY_PID_FILE=$TINYPROXY_PID_DIR/tinyproxy.pid
|
||||
TINYPROXY_LOG_DIR=$LOG_DIR
|
||||
TINYPROXY_DATA_DIR=$TESTENV_DIR/usr/share/tinyproxy
|
||||
TINYPROXY_CONF_DIR=$TESTENV_DIR/etc
|
||||
TINYPROXY_CONF_DIR=$TESTENV_DIR/etc/tinyproxy
|
||||
TINYPROXY_CONF_FILE=$TINYPROXY_CONF_DIR/tinyproxy.conf
|
||||
TINYPROXY_FILTER_FILE=$TINYPROXY_CONF_DIR/filter
|
||||
TINYPROXY_STDERR_LOG=$TINYPROXY_LOG_DIR/tinyproxy.stderr.log
|
||||
TINYPROXY_BIN=$BASEDIR/src/tinyproxy
|
||||
TINYPROXY_STATHOST_IP="127.0.0.127"
|
||||
@ -91,7 +92,11 @@ Allow 127.0.0.0/8
|
||||
ViaProxyName "tinyproxy"
|
||||
ConnectPort 443
|
||||
ConnectPort 563
|
||||
FilterURLs On
|
||||
Filter "$TINYPROXY_FILTER_FILE"
|
||||
EOF
|
||||
|
||||
touch $TINYPROXY_FILTER_FILE
|
||||
}
|
||||
|
||||
start_tinyproxy() {
|
||||
|
Loading…
Reference in New Issue
Block a user