Files
Sankofa/scripts/ansible/templates/tunnel-config.j2
defiQUG 6f28146ac3 Initial Phoenix Sankofa Cloud setup
- Complete project structure with Next.js frontend
- GraphQL API backend with Apollo Server
- Portal application with NextAuth
- Crossplane Proxmox provider
- GitOps configurations
- CI/CD pipelines
- Testing infrastructure (Vitest, Jest, Go tests)
- Error handling and monitoring
- Security hardening
- UI component library
- Documentation
2025-11-28 12:54:33 -08:00

51 lines
1.1 KiB
Django/Jinja

# Cloudflare Tunnel Configuration for {{ site_name }}
# Generated by Ansible
tunnel: {{ site_name }}-tunnel
credentials-file: /etc/cloudflared/{{ site_name }}-tunnel.json
ingress:
# Proxmox Web UI
- hostname: {{ node_name }}.yourdomain.com
service: https://{{ node_name }}.local:8006
originRequest:
noHappyEyeballs: true
connectTimeout: 30s
tls:
skipVerify: true
httpHostHeader: {{ node_name }}.local:8006
# Proxmox API
- hostname: {{ node_name }}-api.yourdomain.com
service: https://{{ node_name }}.local:8006
originRequest:
noHappyEyeballs: true
connectTimeout: 30s
tls:
skipVerify: true
httpHostHeader: {{ node_name }}.local:8006
# Prometheus Exporter
- hostname: {{ node_name }}-metrics.yourdomain.com
service: http://localhost:9221
originRequest:
noHappyEyeballs: true
connectTimeout: 30s
# Catch-all rule (must be last)
- service: http_status:404
# Logging
loglevel: info
logfile: /var/log/cloudflared/{{ site_name }}-tunnel.log
# Metrics
metrics: 0.0.0.0:9090
# Health check
health-probe:
enabled: true
path: /health
port: 8080