- 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.
91 lines
1.9 KiB
Markdown
91 lines
1.9 KiB
Markdown
# Cloudflare Configuration for Blockscout Explorer
|
|
|
|
**Date**: $(date)
|
|
**Domain**: explorer.d-bis.org
|
|
**Tunnel ID**: `10ab22da-8ea3-4e2e-a896-27ece2211a05`
|
|
|
|
---
|
|
|
|
## Quick Configuration Steps
|
|
|
|
### 1. DNS Record (Cloudflare Dashboard)
|
|
|
|
1. **Go to Cloudflare DNS**:
|
|
- URL: https://dash.cloudflare.com/
|
|
- Select domain: `d-bis.org`
|
|
- Navigate to: **DNS** → **Records**
|
|
|
|
2. **Create CNAME Record**:
|
|
```
|
|
Type: CNAME
|
|
Name: explorer
|
|
Target: 10ab22da-8ea3-4e2e-a896-27ece2211a05.cfargotunnel.com
|
|
Proxy status: 🟠 Proxied (orange cloud) - REQUIRED
|
|
TTL: Auto
|
|
```
|
|
|
|
3. **Click Save**
|
|
|
|
### 2. Tunnel Route (Cloudflare Zero Trust)
|
|
|
|
1. **Go to Cloudflare Zero Trust**:
|
|
- URL: https://one.dash.cloudflare.com/
|
|
- Navigate to: **Zero Trust** → **Networks** → **Tunnels**
|
|
|
|
2. **Select Your Tunnel**:
|
|
- Find tunnel ID: `10ab22da-8ea3-4e2e-a896-27ece2211a05`
|
|
- Click on the tunnel name
|
|
|
|
3. **Configure Public Hostname**:
|
|
- Click **Configure** button
|
|
- Click **Public Hostnames** tab
|
|
- Click **Add a public hostname**
|
|
|
|
4. **Add Hostname**:
|
|
```
|
|
Subdomain: explorer
|
|
Domain: d-bis.org
|
|
Service: http://192.168.11.140:80
|
|
Type: HTTP
|
|
```
|
|
|
|
5. **Click Save hostname**
|
|
|
|
---
|
|
|
|
## Verification
|
|
|
|
### Wait for DNS Propagation (1-5 minutes)
|
|
|
|
Then test:
|
|
|
|
```bash
|
|
# Test DNS resolution
|
|
dig explorer.d-bis.org
|
|
nslookup explorer.d-bis.org
|
|
|
|
# Test HTTPS endpoint
|
|
curl https://explorer.d-bis.org/health
|
|
|
|
# Should return JSON response from Blockscout
|
|
```
|
|
|
|
---
|
|
|
|
## 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 Service** | http://192.168.11.140:80 |
|
|
| **Tunnel Type** | HTTP |
|
|
|
|
---
|
|
|
|
**Status**: Ready for configuration
|
|
**Next Step**: Follow steps 1 and 2 above in Cloudflare dashboards
|
|
|