25 lines
935 B
YAML
25 lines
935 B
YAML
## Cloudflare Tunnel configuration file
|
|
## This connects your local website to the internet securely without exposing your IP address
|
|
|
|
# Tunnel configuration - UPDATE THESE VALUES
|
|
tunnel: your-tunnel-id # Replace with your actual tunnel ID from Step 4
|
|
credentials-file: /root/.cloudflared/your-tunnel-id.json # Use your tunnel ID here too
|
|
|
|
# Ingress rules define how traffic is routed to your services
|
|
ingress:
|
|
# Route traffic from your domain to your local web server
|
|
- hostname: yourdomain.com # Replace with your actual domain
|
|
service: http://web:80 # This targets the web service in docker-compose
|
|
|
|
# Catch-all rule (required) - returns 404 for any other requests
|
|
- service: http_status:404
|
|
|
|
# Log settings
|
|
logfile: /var/log/cloudflared.log
|
|
loglevel: info # Options: debug, info, warn, error, fatal
|
|
|
|
# Connection settings
|
|
originRequest:
|
|
connectTimeout: 30s
|
|
noTLSVerify: false # Keep this false for security
|