fix: Zoraxy config path (conf/proxy/), origin IP, filename

This commit is contained in:
Claus Lohmar 2026-07-06 16:57:34 +01:00
parent 7fdf6692df
commit 2798485a2c
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
"RootOrMatchingDomain": "app.nextwks.eu", "RootOrMatchingDomain": "app.nextwks.eu",
"ActiveOrigins": [ "ActiveOrigins": [
{ {
"OriginIpOrDomain": "host.docker.internal:9000", "OriginIpOrDomain": "127.0.0.1:9000",
"RequireTLS": false, "RequireTLS": false,
"Weight": 1, "Weight": 1,
"MaxConn": 0 "MaxConn": 0

View file

@ -36,7 +36,7 @@ if [ "$GREENFIELD" = true ]; then
echo "[4/8] Creating target directories..." echo "[4/8] Creating target directories..."
mkdir -p "$TARGET_DIR/config/nextworkspace" mkdir -p "$TARGET_DIR/config/nextworkspace"
mkdir -p "$TARGET_DIR/config/zoraxy/proxy" mkdir -p "$TARGET_DIR/config/zoraxy/conf/proxy"
mkdir -p "$TARGET_DIR/data/zoraxy" mkdir -p "$TARGET_DIR/data/zoraxy"
mkdir -p "$TARGET_DIR/compose" mkdir -p "$TARGET_DIR/compose"
mkdir -p "$TARGET_DIR/logs/zoraxy" mkdir -p "$TARGET_DIR/logs/zoraxy"
@ -86,8 +86,8 @@ else
if [ -f config/nextworkspace/apps.yaml ]; then if [ -f config/nextworkspace/apps.yaml ]; then
cp config/nextworkspace/apps.yaml "$TARGET_DIR/config/nextworkspace/apps.yaml" cp config/nextworkspace/apps.yaml "$TARGET_DIR/config/nextworkspace/apps.yaml"
fi fi
if [ -d config/zoraxy/proxy ]; then if [ -d config/zoraxy/conf/proxy ]; then
cp config/zoraxy/proxy/* "$TARGET_DIR/config/zoraxy/proxy/" 2>/dev/null || true cp config/zoraxy/conf/proxy/* "$TARGET_DIR/config/zoraxy/conf/proxy/" 2>/dev/null || true
fi fi
echo "[6/8] Restarting Zoraxy..." echo "[6/8] Restarting Zoraxy..."