You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Update Caddy configuration for proper gRPC proxying (#4658)
## Summary
- Fixed Caddy configuration to properly proxy gRPC traffic to the Linera
validator proxy
- Aligned configuration with working Traefik setup for consistency
## Changes
- Updated `ACME_EMAIL` environment variable usage to match Docker
Compose setup
- Added `Content-Type: application/grpc` header for all requests
- Fixed HTTP/2 version specification (removed invalid `h2c`)
- Optimized timeouts for gRPC connections (10s instead of 60s)
- Added connection pooling configuration
- Enabled proper gRPC streaming with `flush_interval -1`
- Switched to JSON logging format for better observability
- Removed unnecessary proxy headers that could interfere with gRPC
## Test plan
- [x] Caddy starts without configuration errors
- [x] gRPC requests are properly proxied to the validator proxy
- [x] Let's Encrypt certificates are obtained correctly
- [ ] Test with actual Linera client connections
🤖 Generated with [Claude Code](https://claude.ai/code)
0 commit comments