Replies: 4 comments
-
Thanks for the suggestion! Do you mean having a Caddy configuration to serve both anycable-go and an RPC server? I never worked with Caddy, so I'm a bit lost here. Could you please provide more details? |
Beta Was this translation helpful? Give feedback.
-
Well you don’t need envoy etc Caddy is golang and can serve GRPC and GRPC web . Best bet if you google for caddy GRPC and there are a ton of examples Caddy can run nats embedded too . There’s a few projects out there doing that sorry it’s not that easy to explain on an issue . The point if you can frantically reduce your bloat imho with caddy |
Beta Was this translation helpful? Give feedback.
-
Yes a caddy config but you can also compile into caddy too but I don’t think that’s needed |
Beta Was this translation helpful? Give feedback.
-
Here is one https://github.com/sandstorm/caddy-nats-bridge http and nats all abstracted with caddy. |
Beta Was this translation helpful? Give feedback.
-
In https://github.com/anycable/anycable-go/tree/master/etc
caddy can run GRPC and GRPC-Web btw.
But I really wanted to mention that a caddy runner in the etc folder would be cool.
mkcert works well with it dmso you can test over https etc .
Beta Was this translation helpful? Give feedback.
All reactions