- 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.1 KiB
Blockscout Explorer - Cloudflare Configuration Guide
Date: $(date)
Status: ⚠️ MANUAL CONFIGURATION REQUIRED
Configuration Required
Since Cloudflare API token is not available, manual configuration is required through the Cloudflare dashboard.
Step 1: Configure DNS Record
In Cloudflare DNS Dashboard
-
Go to: https://dash.cloudflare.com/
-
Select domain:
d-bis.org -
Navigate to: DNS → Records
-
Click: Add record
-
Configure:
Type: CNAME Name: explorer Target: 10ab22da-8ea3-4e2e-a896-27ece2211a05.cfargotunnel.com Proxy status: 🟠 Proxied (orange cloud) - REQUIRED TTL: Auto -
Click: Save
⚠️ IMPORTANT: Proxy status must be 🟠 Proxied (orange cloud) for the tunnel to work!
Step 2: Configure Tunnel Route
In Cloudflare Zero Trust Dashboard
-
Navigate to: Zero Trust → Networks → Tunnels
-
Select your tunnel: Find tunnel ID
10ab22da-8ea3-4e2e-a896-27ece2211a05 -
Click: Configure button
-
Click: Public Hostnames tab
-
Click: Add a public hostname
-
Configure:
Subdomain: explorer Domain: d-bis.org Service: http://192.168.11.140:80 Type: HTTP -
Click: Save hostname
Step 3: Verify Configuration
Wait for DNS Propagation (1-5 minutes)
Then test:
# Test DNS resolution
dig explorer.d-bis.org
nslookup explorer.d-bis.org
# Should resolve to Cloudflare IPs (if proxied)
# Test HTTPS endpoint
curl -I https://explorer.d-bis.org
curl https://explorer.d-bis.org/health
# Should return Blockscout API response
Configuration Summary
| Setting | Value |
|---|---|
| Domain | explorer.d-bis.org |
| DNS Type | CNAME |
| DNS Target | 10ab22da-8ea3-4e2e-a896-27ece2211a05.cfargotunnel.com |
| Proxy Status | 🟠 Proxied (required) |
| Tunnel ID | 10ab22da-8ea3-4e2e-a896-27ece2211a05 |
| Tunnel Service | http://192.168.11.140:80 |
| Tunnel Type | HTTP |
Automated Configuration (Optional)
If you want to configure DNS automatically via API in the future:
-
Create Cloudflare API Token:
- Go to: https://dash.cloudflare.com/profile/api-tokens
- Create token with permissions:
- Zone → DNS → Edit
- Account → Cloudflare Tunnel → Edit
-
Add to .env file:
CLOUDFLARE_API_TOKEN="your-api-token-here" -
Run configuration script:
cd /home/intlc/projects/proxmox bash scripts/configure-cloudflare-explorer-complete.sh
Note: Tunnel route configuration still requires manual setup even with API token (complex API endpoint).
Current Status
- ✅ Infrastructure: Complete
- ✅ Nginx: Configured and running
- ✅ Blockscout: Container running
- ❌ DNS Record: Pending manual configuration
- ❌ Tunnel Route: Pending manual configuration
Last Updated: $(date)
Next Step: Complete DNS and tunnel route configuration in Cloudflare dashboards