29 lines
965 B
YAML
29 lines
965 B
YAML
## Cloudflare Tunnel configuration file
|
|
## This config connects your local website to the internet securely using Cloudflare Tunnels
|
|
|
|
# Tunnel configuration
|
|
tunnel: your-tunnel-id # Replace with your actual tunnel ID from Cloudflare
|
|
credentials-file: /root/.cloudflared/your-tunnel-id.json # Path to your tunnel credentials file
|
|
|
|
# Ingress rules define how traffic is routed
|
|
ingress:
|
|
# First rule: route all traffic to your local website
|
|
- hostname: abforabortion.com # Replace with your domain
|
|
service: http://localhost:80
|
|
|
|
# Second rule: you can add additional hostnames/subdomains
|
|
- hostname: www.abforabortion.com # Replace with your subdomain
|
|
service: http://localhost:80
|
|
|
|
# Default catch-all rule (required)
|
|
- service: http_status:404
|
|
|
|
# Log level options: debug, info, warn, error, fatal
|
|
logfile: /var/log/cloudflared.log
|
|
loglevel: info
|
|
|
|
# Optional: Set to true in production
|
|
originRequest:
|
|
connectTimeout: 30s
|
|
noTLSVerify: false
|