diff --git a/compose/zoraxy.yaml b/compose/zoraxy.yaml index 0383616..27e42c5 100644 --- a/compose/zoraxy.yaml +++ b/compose/zoraxy.yaml @@ -6,6 +6,7 @@ services: network_mode: host volumes: - /opt/nextworkspace/config/zoraxy/:/opt/zoraxy/config/ + - /opt/nextworkspace/config/zoraxy/www/:/opt/zoraxy/www/ - /opt/nextworkspace/data/zoraxy/:/opt/zoraxy/data/ - /opt/nextworkspace/logs/zoraxy/:/opt/zoraxy/log/ - /var/run/docker.sock:/var/run/docker.sock @@ -13,4 +14,5 @@ services: - PORT=8000 - NOAUTH=false - DOCKER=true + - WEBROOT=/opt/zoraxy/www/ - TZ=UTC diff --git a/config/www/index.html b/config/www/index.html new file mode 100644 index 0000000..9234016 --- /dev/null +++ b/config/www/index.html @@ -0,0 +1,83 @@ + + + + + + NextWorkspace — Your Self-Hosted Workspace for Startups + + + +
+

NextWorkspace

+

Your Self-Hosted Workspace for Startups

+
nextwks.eu
+
+
+

Components

+ + +
+

Built with AI

+

NextWorkspace was developed with assistance from AI coding tools, using DeepSeek as the provider and OpenCode as the development framework.

+
+
+ + + diff --git a/deploy.sh b/deploy.sh index 1d35ec9..6b7ef73 100755 --- a/deploy.sh +++ b/deploy.sh @@ -70,6 +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/data/zoraxy" mkdir -p "$TARGET_DIR/compose" mkdir -p "$TARGET_DIR/logs" @@ -204,6 +205,22 @@ ZORAXY_APP } ZORAXY_DNS + # Generate www subdomain config (static site, no upstream) + cat > "$TARGET_DIR/config/zoraxy/conf/proxy/www.$DOMAIN.config" </dev/null || true diff --git a/install.sh b/install.sh index 3b72492..0547c8a 100755 --- a/install.sh +++ b/install.sh @@ -10,6 +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/data/zoraxy" mkdir -p "$TARGET_DIR/compose" mkdir -p "$TARGET_DIR/logs"