- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
3.0 KiB
Info Page Routing Verification - info.defi-oracle.io
Date: 2026-01-05
VMID: 2400
Domain: info.defi-oracle.io
Status: ✅ CONFIGURED
Nginx has been configured to serve the info page and JSON data for info.defi-oracle.io.
Configuration
Nginx Server Block
File: /etc/nginx/sites-available/info-defi-oracle
Features:
- Serves static HTML page at
/ - Serves JSON data at
/index.json - API endpoint at
/api/chainfor chain information - CORS headers enabled for JSON endpoints
Content
HTML Page (/var/www/info/index.html):
- Basic info page with chain details
- Links to RPC endpoint
JSON Data (/var/www/info.defi-oracle.io/chain.json):
- Existing JSON file with chain information
- Served at
/chain.jsonand/api/chain
API Endpoint (/api/chain):
- Returns chain information as JSON
- Includes chainId, name, and RPC endpoint
Routing Flow
https://info.defi-oracle.io
↓
Cloudflare Tunnel
↓
Nginx (port 80) ✅ CONFIGURED
↓
/var/www/info/ (static files)
Verification
✅ Local Testing
HTML Page:
curl http://127.0.0.1:80 -H 'Host: info.defi-oracle.io'
Result: ✅ Returns HTML page from /var/www/info.defi-oracle.io/index.html
JSON Data:
curl http://127.0.0.1:80/chain.json -H 'Host: info.defi-oracle.io'
Result: ✅ Returns JSON data from /var/www/info.defi-oracle.io/chain.json
API Endpoint:
curl http://127.0.0.1:80/api/chain -H 'Host: info.defi-oracle.io'
Result: ✅ Returns chain info JSON (serves chain.json)
✅ Public Endpoint
HTTPS Access:
curl https://info.defi-oracle.io
Result: ✅ Accessible via Cloudflare tunnel
Available Endpoints
| Endpoint | Type | Description |
|---|---|---|
/ |
HTML | Info page with chain details (index.html) |
/chain.json |
JSON | Chain information in JSON format |
/api/chain |
JSON | API endpoint for chain info (serves chain.json) |
Customization
To update the info page content:
-
Edit HTML:
ssh root@192.168.11.10 "pct exec 2400 -- nano /var/www/info.defi-oracle.io/index.html" -
Edit JSON:
ssh root@192.168.11.10 "pct exec 2400 -- nano /var/www/info.defi-oracle.io/chain.json" -
Reload Nginx (if needed):
ssh root@192.168.11.10 "pct exec 2400 -- systemctl reload nginx"
Cloudflare Tunnel Configuration
The tunnel is already configured to route info.defi-oracle.io to http://127.0.0.1:80 (Nginx), so no tunnel changes are needed.
Conclusion
✅ Nginx is correctly routing info.defi-oracle.io to the info page and JSON data
- Server block configured for
info.defi-oracle.io - Static files served from
/var/www/info.defi-oracle.io/ - HTML page available at
/(index.html) - JSON data available at
/chain.json - API endpoint available at
/api/chain - Cloudflare tunnel routing already configured
- Public endpoint accessible
Status: ✅ FULLY OPERATIONAL