- Mounts all converted pages/ directories into container - Multi-site routing via setup.php hostname mapping - Port 12000 exposed for development access All 21 mdbook sites converted to Grav format: - charters.turnsys.com (199 pages) - plan.afabn.org, plan.ap4ap.org, plan.ezeda.org, plan.ezpodstack.org - plan.hfnoc.net, plan.knownelement.com (7 pages) - plan.meetmorse.com, plan.merchantsofhope.org, plan.rackrental.net - plan.redwfo.com, plan.rwscp.net, plan.sidedoorgroup.org - plan.sol-calc.com, plan.suborbital-systems.com (2 pages) - plan.teamrental.net, plan.thecampustradingcompany.com - plan.thepeernet.com, plan.turnsys.com - plan.yourdreamnamehere.com, plan.startinglineproductions.com (10 pages) Assisted-by: GLM-5 via Crush <crush@charm.land>
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
#!/bin/bash
|
|
# Test Grav multi-site connectivity
|
|
|
|
echo "=== Testing Grav Multi-Site on port 12000 ==="
|
|
echo ""
|
|
|
|
# Test basic connectivity
|
|
echo "1. Testing localhost:12000..."
|
|
exec 3<>/dev/tcp/localhost/12000
|
|
echo -e "GET / HTTP/1.1\r\nHost: localhost\r\nConnection: close\r\n\r\n" >&3
|
|
head -5 <&3
|
|
exec 3<&-
|
|
echo ""
|
|
|
|
# Test plan.startinglineproductions.com
|
|
echo "2. Testing plan.startinglineproductions.com..."
|
|
exec 3<>/dev/tcp/localhost/12000
|
|
echo -e "GET / HTTP/1.1\r\nHost: plan.startinglineproductions.com\r\nConnection: close\r\n\r\n" >&3
|
|
head -5 <&3
|
|
exec 3<&-
|
|
echo ""
|
|
|
|
# Test charters.turnsys.com
|
|
echo "3. Testing charters.turnsys.com..."
|
|
exec 3<>/dev/tcp/localhost/12000
|
|
echo -e "GET / HTTP/1.1\r\nHost: charters.turnsys.com\r\nConnection: close\r\n\r\n" >&3
|
|
head -5 <&3
|
|
exec 3<&-
|
|
echo ""
|
|
|
|
# Test plan.knownelement.com
|
|
echo "4. Testing plan.knownelement.com..."
|
|
exec 3<>/dev/tcp/localhost/12000
|
|
echo -e "GET / HTTP/1.1\r\nHost: plan.knownelement.com\r\nConnection: close\r\n\r\n" >&3
|
|
head -5 <&3
|
|
exec 3<&-
|
|
echo ""
|
|
|
|
echo "=== Tests complete ==="
|