fix nossl

This commit is contained in:
Sebastian
2025-03-18 06:48:49 +01:00
parent 22f9372a83
commit 1ac9afbd19
3 changed files with 4 additions and 4 deletions

View File

@@ -11,9 +11,9 @@ while IFS= read -r line; do
blacklist+=("$line") blacklist+=("$line")
done < "$BASEPATH/path-blacklist.txt" done < "$BASEPATH/path-blacklist.txt"
if $NO_SSL; then if [ -n "$NO_SSL" ]; then
PROTO="http" PROTO="http"
DOMAIN="0.0.0.0" DOMAIN="${DOMAIN:-0.0.0.0}"
fi fi
pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//') pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')

View File

@@ -9,7 +9,7 @@ while IFS= read -r line; do
blacklist+=("$line") blacklist+=("$line")
done < "$BASEPATH/path-blacklist.txt" done < "$BASEPATH/path-blacklist.txt"
if $NO_SSL; then if [ -n "$NO_SSL" ] then
PROTO="http" PROTO="http"
DOMAIN="${DOMAIN:-0.0.0.0}" DOMAIN="${DOMAIN:-0.0.0.0}"
else else

View File

@@ -9,7 +9,7 @@ while IFS= read -r line; do
blacklist+=("$line") blacklist+=("$line")
done < "$BASEPATH/path-blacklist.txt" done < "$BASEPATH/path-blacklist.txt"
if $NO_SSL; then if [ -n "$NO_SSL" ]; then
PROTO="http" PROTO="http"
DOMAIN="${DOMAIN:-0.0.0.0}" DOMAIN="${DOMAIN:-0.0.0.0}"
else else