carloslima/traefik — reverse-engineered prompt
Reverse engineered prompt
Build me a modern reverse proxy and load balancer for microservices, something like Traefik. I want it to sit in front of my services and automatically discover them from places like Docker, Kubernetes, ECS, or a simple file config, then create and update routes on its own as services start, stop, or scale, without needing restarts. It should support manual routes too when needed.
Please include HTTPS with Let's Encrypt, a simple web dashboard so I can see what is happening, multiple load balancing options, retries and circuit breaking, support for WebSocket, HTTP/2, and gRPC, plus useful metrics and access logs. I also want a small REST API for status and management. It should feel fast and easy to run, ideally as a single binary and also in a container.
If there are sample config files already, use those as the starting point and make the quick start smooth. Look up the current docs online if you need to fill in any gaps.
Want more depth? Deep Reverse