fix: www files go to html/ subdirectory (Zoraxy static root)
This commit is contained in:
parent
ddef538795
commit
4e50bf15dd
2 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ if [ "$GREENFIELD" = true ]; then
|
|||
echo "[4/6] Creating target directories..."
|
||||
mkdir -p "$TARGET_DIR/config/nextworkspace"
|
||||
mkdir -p "$TARGET_DIR/config/zoraxy/conf/proxy"
|
||||
mkdir -p "$TARGET_DIR/config/zoraxy/www"
|
||||
mkdir -p "$TARGET_DIR/config/zoraxy/www/html"
|
||||
mkdir -p "$TARGET_DIR/data/zoraxy"
|
||||
mkdir -p "$TARGET_DIR/compose"
|
||||
mkdir -p "$TARGET_DIR/logs"
|
||||
|
|
@ -219,7 +219,7 @@ ZORAXY_DNS
|
|||
ZORAXY_WWW
|
||||
|
||||
# Copy www landing page
|
||||
cp -r config/www/* "$TARGET_DIR/config/zoraxy/www/"
|
||||
cp -r config/www/* "$TARGET_DIR/config/zoraxy/www/html/"
|
||||
|
||||
# Lock proxy configs so Zoraxy cannot rewrite them (clearing OriginIpOrDomain)
|
||||
echo "[*] Locking proxy configs (chattr +i)..."
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ TARGET_DIR="/opt/nextworkspace"
|
|||
echo "=== NextWorkspace Setup ==="
|
||||
mkdir -p "$TARGET_DIR/config/nextworkspace"
|
||||
mkdir -p "$TARGET_DIR/config/zoraxy/conf/proxy"
|
||||
mkdir -p "$TARGET_DIR/config/zoraxy/www"
|
||||
mkdir -p "$TARGET_DIR/config/zoraxy/www/html"
|
||||
mkdir -p "$TARGET_DIR/data/zoraxy"
|
||||
mkdir -p "$TARGET_DIR/compose"
|
||||
mkdir -p "$TARGET_DIR/logs"
|
||||
|
|
|
|||
Loading…
Reference in a new issue