News for hackers. Stuff that matters.
Re:Nginx Modern Reference Architectures by loganmarchione on Thursday May 19, 2022 @01:35PM (#31437669)
I don't think any large corporations are using Caddy. Everywhere I've worked has used Nginx for any high-traffic applications.

As a side note, I'm looking at Traefik in my homelab and it's honestly difficult because I'm so comfortable with Nginx.

Re:Nginx Modern Reference Architectures by mholt on Thursday May 19, 2022 @02:06PM (#31438072)
There are several large corporations using Caddy. Several companies you've heard of and probably used the products of! I have a call with one of them every few weeks.

I also know a huge hospital chain in the US is using Caddy.

Re:Nginx Modern Reference Architectures by tfigment on Thursday May 19, 2022 @03:25PM (#31438952)
Caddy has problems with streaming gRPC (not simple request/response). So does Traefik to my understanding but Traefik might work better if reports are to be believed. Nginx has support i think but ive not verified it. I like caddy simple config when it works.

None of the proxies seem to do well with bidirectional gRPC streams as they just treat gRPC as a h2 proxy but I'd love to see that proven wrong.

Re:Nginx Modern Reference Architectures by m_sahaf on Thursday May 19, 2022 @04:36PM (#31439845)
Caddy is capable of handling bidirectional gRPC streams! I have just tested it, and it works just fine. Caddy will immediately flush writes when upstream is `h2` or `h2c`[0] instead of having to wait until reading from socket is complete

I used this Caddyfile to proxy to the route_guide example (https://github.com/grpc/grpc-go/tree/master/examples/route_g...):

```

localhost {

    reverse_proxy  h2c://localhost:50051
}

```

It works like a charm.

[0] https://github.com/caddyserver/caddy/blob/e4ce40f8ff04240540...

Re:Nginx Modern Reference Architectures by number6 on Thursday May 19, 2022 @01:55PM (#31437938)
It's difficult because of the boilerplate. Compare traefik with caddy-docker-proxy. Same feature set but only 30% of the code