Hacker GitHub

← All repos

caddyserver/caddy

View on GitHub ↗ ★ 78,644 Go

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

215 mentions on Hacker News by 121 people: 22 stories, 193 comments · first 2015-04-28 · latest 2026-10-06

Mentions per year 215 mentions · busiest year 2017 (40)
20082026
  1. …in the JSON format. e.g. `strip_path_suffix` and `http_redirect` for the `rewrite` handler ( https://github.com/caddyserver/caddy/issues/2011#issuecommen... ), which would be a more ergonomic way to set a rule to strip trailing slashes…
    comment by asb · 2022-09-08 · in Caddyhttp: Enable HTTP/3 by Default
  2. …way to count; but I am very open to improving this! Feel free to submit a proposal or a PR. Ref: https://github.com/caddyserver/caddy/blob/50748e19c34fc90882...
    comment by mholt · 2022-09-08 · in Caddyhttp: Enable HTTP/3 by Default
  3. Oh hey HN. This is in the Caddy 2.6 beta already: https://github.com/caddyserver/caddy/releases/tag/v2.6.0-bet... - please try it out! Thanks to Marten Seemann for maintaining the quic-go library we use. (I still haven't heard whether Go…
    comment by mholt · 2022-09-08 · in Caddyhttp: Enable HTTP/3 by Default
  4. Over all time, yes, but look at the last ~year: https://github.com/caddyserver/caddy/graphs/contributors?fro...
  5. > I'm not sure I'm even the top code committer at this point you are, by a lot: https://github.com/caddyserver/caddy/graphs/contributors
  6. …so that it would match general expectations. The issue I think you're talking about is this one: https://github.com/caddyserver/caddy/issues/2894 . Early on in v2 betas, we opened the discussion to get community feedback about the…
  7. FYI, I just revamped how Caddy handles encoded slashes: https://github.com/caddyserver/caddy/pull/4948 It's much smarter now. Caddy also doesn't stop if a certificate can't be obtained. When did you last try? Maybe a big was fixed but it…
  8. …Found it - they did switch to Apache 2.0, remove all usage restrictions and open-sourced it all https://github.com/caddyserver/caddy/issues/2786
  9. Yes, no longer applicable. https://github.com/caddyserver/caddy/issues/2786
  10. …added plugin support for templates, so you can write your own template functions if you'd like! https://github.com/caddyserver/caddy/pull/4757
  11. …Thanks again for the reply / example. 1. https://github.com/caddyserver/xcaddy#command-usage 2. https://github.com/caddyserver/caddy-docker/blob/master/Dock... 3. https://github.com/caddyserver/caddy/tree/v2.5.1 4.…
    comment by donmcronald · 2022-05-24 · in NGINX Proxy Manager
  12. …): ``` localhost { reverse_proxy h2c://localhost:50051 } ``` It works like a charm. [0] https://github.com/caddyserver/caddy/blob/e4ce40f8ff04240540...
    comment by m_sahaf · 2022-05-19 · in Nginx Modern Reference Architectures
  13. Yep! We have it working here: https://github.com/caddyserver/caddy/pull/4739 It's a generic setup where you can do _anything_ you want via firing off an HTTP request as a clone of the original, and re-handling the request after getting…
    comment by francislavoie · 2022-05-05 · in Tailscale Authentication for Nginx
  14. …with Authelia to test it out, would be cool to get it working with another Go auth server! See https://github.com/caddyserver/caddy/pull/4739
  15. …been working on making the Forward Auth usecase viable with Caddy, and we just got it working today https://github.com/caddyserver/caddy/pull/4739
  16. No. See https://github.com/caddyserver/caddy/issues/2786 And to be clear, only builds produced by the official Caddy website used to be commercially licensed (not anymore). But the code has always been open source, and you could always…
    comment by francislavoie · 2022-04-27 · in Show HN: Caddy v2.5.0
  17. …By not supporting this out of the box the maintainer is causing a ton of sites to be faulty. https://github.com/caddyserver/caddy/issues/1632
    comment by charcircuit · 2022-04-27 · in Show HN: Caddy v2.5.0
  18. …some time developing it, essentially it's just a module which implements this interface: https://pkg.go.dev/github.com/caddyserver/caddy/v2/modules/c...
    comment by francislavoie · 2022-04-26 · in Show HN: Caddy v2.5.0
  19. …the "Show HN" on this one, as he authored more commits to Caddy during this timeframe than I did: https://github.com/caddyserver/caddy/graphs/contributors?fro... He and several other maintainers, community helpers, distribution team…
    comment by mholt · 2022-04-26 · in Show HN: Caddy v2.5.0
  20. …from the core team with the community. [0]: https://news.ycombinator.com/item?id=30870862 [1]: https://github.com/caddyserver/caddy/blob/master/go.mod
    comment by coder543 · 2022-03-31 · in How Go mitigates supply chain attacks
  21. Here's caddy's go/tls wrapper with e.g. ACME, OCSP stapling: https://github.com/caddyserver/caddy/blob/master/modules/cad... Django-ca also does OCSP and certbot-compatible ACMEv2 w/ known limitations:…
    comment by westurner · 2022-03-24 · in Implementing a toy version of TLS 1.3
  22. …There's definitely some good points being made in this article, and I adjusted the PR accordingly. https://github.com/caddyserver/caddy/pull/4507
    comment by francislavoie · 2022-03-06 · in The perils of the “real” client IP
  23. …for plan9 for the moment because of a dependency of Caddy's that has a compatibility problem https://github.com/caddyserver/caddy/issues/3615#issuecommen... ). Caddy also doesn't have to run as root, nor does it by default with our apt/yum…
    comment by francislavoie · 2022-01-31 · in Does my site need HTTPS?
  24. …complex modules. You could definitely use it as a basis to have your CMS based on this module. [0]: https://github.com/caddyserver/caddy/tree/master/modules/cad...
  25. …to do properly, but I'm willing to bring it over to Caddy 2 with a sufficient sponsorship. [1]: https://github.com/caddyserver/caddy/blob/v1/upgrade.go
    comment by mholt · 2022-01-04 · in Upgrading Executable on the Fly
  26. …and want to help make Caddy's basic auth even better, feel free to contribute or sponsor: https://github.com/caddyserver/caddy
    comment by mholt · 2022-01-01 · in Using HTTP Basic Auth in 2022
  27. …during our CI actions to ensure that releases are always verified to be signed by Matt's key. See https://github.com/caddyserver/caddy/pull/3932 Specifically, commit https://github.com/caddyserver/caddy/commit/1d473ae924f0d52c... (which…
  28. …followed up on publicly :\ [1]: https://twitter.com/caddyserver/status/1338324878441603073 [2]: https://github.com/caddyserver/caddy/releases/tag/v2.2.1
  29. …when renewing/obtaining a certificate failed, something that i utterly hate when web servers do: https://github.com/caddyserver/caddy/issues/642 Admittedly, things are a bit better now: https://caddyserver.com/docs/automatic-https#errors I…
  30. In case you missed it: https://github.com/caddyserver/caddy/issues/2786 Those issues are a thing of the past. There's no use bringing it up again, tbh. > like acting as a cache That's fair, we have a WIP cache module here…
  31. Caddy switched their license way back in 2019 making it completely open source and free to use https://github.com/caddyserver/caddy/issues/2786
  32. …https://github.com/figma https://github.com/tailwindlabs/tailwindcss https://github.com/caddyserver/caddy https://github.com/haproxy/haproxy https://github.com/uNetworking/uWebSockets
  33. …Caddy would be stuck with expired certificates. https://caddyserver.com/docs/automatic-https#errors https://github.com/caddyserver/caddy/releases/tag/v2.3.0
  34. …and code. Code search is also invaluable for this; I recommend Sourcegraph: https://sourcegraph.com/github.com/caddyserver/caddy Edit: One other valuable piece is explaining why the architecture is the way it is. Our architecture.md doc…
    comment by mholt · 2021-02-06 · in Architecture.md
  35. …organizations, teams and sites easily. We built Meli on top of Caddy, a very powerful HTTP server ( https://github.com/caddyserver/caddy ). We've used Typescript, Node (backend), React (frontend) and MongoDB for the database. It's a beta,…
  36. > even using the same libraries for most of the functionality Actually no, not anymore. https://github.com/caddyserver/caddy/pull/3621 > because there’s demand for it, today We've only seen the demand from you. Nobody else. One individual…
    comment by francislavoie · 2020-11-25 · in Another free CA as an alternative to Let's Encrypt
  37. If you want the background story: https://github.com/caddyserver/caddy/issues/1632 This is all from four years ago. And kuschku hasn't taken no for an answer after all this time. It's frustrating and annoying to hear their complaints on…
    comment by francislavoie · 2020-11-25 · in Another free CA as an alternative to Let's Encrypt
  38. …through ACME. You can even view them in your ZeroSSL dashboard. [1]: https://caddyserver.com [2]: https://github.com/caddyserver/caddy/pull/3862
  39. …full-fledged reverse proxy, I'll reconsider trying to implement my project as a Caddy plugin. [0]: https://github.com/caddyserver/caddy/issues/3754
    comment by anderspitman · 2020-10-22 · in BPF, XDP, Packet Filters and UDP
  40. …their repo conveniently neglects to mention that there are, in fact, about 60 copyright holders: https://github.com/caddyserver/caddy/blob/master/AUTHORS
    comment by yencabulator · 2020-09-14 · in Caddy Server Is Acquired By Apilayer
  41. …other supported format through Config Adapters) to pass into either `Load()` or `Run()`: https://pkg.go.dev/github.com/caddyserver/caddy/v2?tab=doc#L... But most people do it the other way around: write a Go program or library and then…
    comment by mholt · 2020-09-11 · in Caddy Server Is Acquired By Apilayer
  42. …it with their github account. For example, from a random open PR from a first-time contributor: https://github.com/caddyserver/caddy/pull/3680#issuecomment-...
    comment by francislavoie · 2020-09-10 · in Caddy Server Is Acquired By Apilayer
  43. …shrink by ~2.5 MB with Go 1.15! (~33 MB down to ~31 MB) 3 MB savings on Mac, and 2 MB on Windows: https://github.com/caddyserver/caddy/pull/3642#issuecomment-... So about 8-10% reduction.
    comment by mholt · 2020-08-11 · in Go 1.15 Released
  44. …stable [1]. Do you still plan to integrate Starlark if the project is a financial success? [1] https://github.com/caddyserver/caddy/commit/8b28c36d480070c8...
    comment by networked · 2020-05-05 · in Show HN: Caddy 2
  45. Changed: https://github.com/caddyserver/caddy/issues/2786
    comment by detaro · 2020-05-04 · in Show HN: Caddy 2
  46. It's not a random source. The package is created by the release script in Caddy's repo: https://github.com/caddyserver/caddy/blob/e051e119d1dff75972... There's ongoing effort to package Caddy into Debian. Until then, this is the…
    comment by m_sahaf · 2020-05-04 · in Show HN: Caddy 2
  47. Yep, there are several reasons, you can read about them here: https://github.com/caddyserver/caddy/wiki/v2:-FAQ#why-json-f... Basically, it is highly interoperable and allows us to build config adapters on top of it, so you don't have to…
    comment by mholt · 2020-05-04 · in Show HN: Caddy 2
  48. …also have a (sort of deprecated) wiki with some (slightly outdated) high-level improvements listed: https://github.com/caddyserver/caddy/wiki/v2:-Improvements
    comment by mholt · 2020-05-04 · in Show HN: Caddy 2
  49. …that now 404s[2]. Cheers, [1] https://caddyserver.com/v1/blog/caddy-2-ready-for-developers [2] https://github.com/caddyserver/caddy/tree/v2#list-of-improve...
    comment by gnalck · 2020-05-04 · in Show HN: Caddy 2
  50. …guess I'm just part of the people that were confused by the situation back then. Sorry about that ! https://github.com/caddyserver/caddy/issues/2786
    comment by 1337shadow · 2020-05-03 · in Shrinking my static site