Archon/Caddyfile.example
2025-11-15 21:23:49 -06:00

29 lines
814 B
Text

# Caddy configuration for Remote Coding Agent
# Copy this file to 'Caddyfile' and update with your domain
# Replace 'remote-agent.yourdomain.com' with your actual domain or subdomain
remote-agent.yourdomain.com {
# Reverse proxy to app container
reverse_proxy app:3000
# Optional: Access logs
log {
output file /data/access.log
}
# Optional: Enable compression
encode gzip
# Automatic HTTPS via Let's Encrypt
# No additional configuration needed - Caddy handles it automatically
}
# Alternative configuration with multiple domains:
# remote-agent.yourdomain.com, alternative.domain.com {
# reverse_proxy app:3000
# }
# Alternative: HTTP only (for testing, not recommended for production)
# http://remote-agent.yourdomain.com {
# reverse_proxy app:3000
# }