Files
proxmox/rpc-translator-138/NGINX_INFO_COMMENTED.md
defiQUG cb47cce074 Complete markdown files cleanup and organization
- 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.
2026-01-06 01:46:25 -08:00

79 lines
2.3 KiB
Markdown

# Nginx Configuration Update - info.defi-oracle.io Commented Out
**Date**: 2026-01-05
**Action**: Commented out `info.defi-oracle.io` server block in Nginx
---
## Changes Made
### Configuration File
**File**: `/etc/nginx/sites-available/info-defi-oracle`
**Action**: Entire server block commented out
**Backup Created**: `/etc/nginx/sites-available/info-defi-oracle.backup.*`
---
## Verification
### ✅ Nginx Configuration
- Configuration syntax: ✅ Valid
- Nginx reloaded: ✅ Successfully
- Service status: ✅ Running
### ✅ Other Services Unaffected
- `rpc.public-0138.defi-oracle.io`: ✅ Still working
- RPC Translator service: ✅ Still working
### ⚠️ info.defi-oracle.io Status
- Local access: Returns "Not Found" (expected - no server block active)
- Public HTTPS: No longer routed by Nginx
- Cloudflare tunnel: Still configured, but Nginx won't serve the content
---
## Current Nginx Active Configurations
| Domain | Status | Purpose |
|--------|--------|---------|
| `rpc.public-0138.defi-oracle.io` | ✅ Active | RPC Translator service |
| `info.defi-oracle.io` | ❌ Commented Out | Info page (disabled) |
---
## To Re-enable
If you need to re-enable the info.defi-oracle.io configuration:
1. **Uncomment the configuration**:
```bash
ssh root@192.168.11.10 "pct exec 2400 -- sed -i 's/^#\(server {\)/\1/g' /etc/nginx/sites-available/info-defi-oracle"
ssh root@192.168.11.10 "pct exec 2400 -- sed -i 's/^#\( listen\)/\1/g' /etc/nginx/sites-available/info-defi-oracle"
# ... (uncomment all lines)
```
2. **Or restore from backup**:
```bash
ssh root@192.168.11.10 "pct exec 2400 -- cp /etc/nginx/sites-available/info-defi-oracle.backup.* /etc/nginx/sites-available/info-defi-oracle"
```
3. **Test and reload**:
```bash
ssh root@192.168.11.10 "pct exec 2400 -- nginx -t && systemctl reload nginx"
```
---
## Impact
- ✅ **No impact on RPC endpoints**: `rpc.public-0138.defi-oracle.io` continues to work
- ✅ **No impact on RPC Translator**: Service continues to operate normally
- ⚠️ **Info page disabled**: `info.defi-oracle.io` will not be served by Nginx
- ⚠️ **Cloudflare tunnel**: Still routes to Nginx, but Nginx won't match the hostname
---
**Status**: Configuration commented out successfully. Nginx is running normally.