by andix · 5y ago · 0 comments
I gave it a try, because I'm a .NET dev and nginx configuration always confuses me. There are a lot of things still missing from YARP:
- Configuration/API still has some rough edges
- For a lot of things (funky header stuff), you still need to write your own Middlewares
- Missing documentation for a lot of features
- No good Letsencrypt support
- Caching and cache conrol is also very limited- Writing code in a .net based language is one of the strengths.
- let’s encrypt isn’t built in but can be added by using https://github.com/natemcmaster/LettuceEncrypt
- Not sure about the caching one. Do you have more details?
LettuceEncrypt is more or less currently unmaintained. Way too risky to use, no idea how to fix that, if something breaks.
About caching, this issue sums up my issue quite well: https://github.com/dotnet/aspnetcore/issues/27387
I went with Traefik after all, I'm quite happy with that choice.
Out of curiosity, Traefik has output caching ?
YARP got me interested, because I thought I could write some complex caching rules in C#. But you can’t, so every other proxy that doesn’t cache is as good as YARP ;)