- 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.
23 lines
765 B
Bash
Executable File
23 lines
765 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Add blockscout.defi-oracle.io to Nginx configuration on VMID 105
|
|
PROXMOX_HOST="192.168.11.12"
|
|
NGINX_VMID=105
|
|
ssh -o ConnectTimeout=5 -o StrictHostKeyChecking=no root@${PROXMOX_HOST} "pct exec $NGINX_VMID -- bash" << 'NGINX_EOF'
|
|
cat >> /data/nginx/custom/http.conf << 'CONFIG_EOF'
|
|
|
|
# Blockscout (defi-oracle.io domain)
|
|
server {
|
|
listen 80;
|
|
server_name blockscout.defi-oracle.io;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
location / {
|
|
proxy_pass http://192.168.11.140:80;
|
|
}
|
|
}
|
|
CONFIG_EOF
|
|
nginx -t && systemctl restart npm && echo "✓ Nginx configuration updated"
|
|
NGINX_EOF
|