Caddy – The Ultimate Server with Automatic HTTPS

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. certmagic

    Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal

    I'm a big fan of pico.sh (it's one of my main inspiration for smallweb.run).

    I'm sure you're aware of it, but it might be interesting to others: caddy exposes all of it's internal as library you can easily integrate to your projects: https://github.com/caddyserver/certmagic

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. Caddy

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

  4. river

    This repository is the home of the River reverse proxy application, based on the pingora library from Cloudflare. (by memorysafety)

    Caddy is pretty nice, I believe Coolify uses it as part of their self-hosted open source PaaS model. Just out of curiosity, are there any alternatives in Rust? I think Pingora is one, as well as River which is built on top of it [0], but I'm not sure how widely used the latter is as a Caddy replacement.

    [0] https://github.com/memorysafety/river

  5. h2o

    H2O - the optimized HTTP/1, HTTP/2, HTTP/3 server

    Another great web server to try is h2o: https://h2o.examp1e.net/

    Especially for its HTTP/2 and HTTP/3 QUIC support.

  6. ziti-caddy

    Zitified Caddy server

    The friendly licensing (Apache v2) is important too, especially w/ Caddy's modular architecture (single, static binary compiled for any platform).

    Meaning ecosystems around Caddy to make it even simpler and more secure, e.g. keep your server private while serving Internet clients. So VPNs like Tailscale (1) or zero implicit trust like OpenZiti (also Apache v2; (2)). Similar to what we have seen with open source k8s ecosystem for example.

    (1) https://tailscale.com/blog/caddy (and other VPNs but the proprietary bits in the commercial TS service make it easier to use)

    (2) https://github.com/openziti-test-kitchen/ziti-caddy (disclosure: maintainer...there may be other open source zero implicit trust options with these types of Caddy integrations)

  7. caddy-l4

    Layer 4 (TCP/UDP) app for Caddy

    Here using `layer4.matchers.*`

    https://github.com/mholt/caddy-l4?tab=readme-ov-file#introdu...

  8. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  9. localias

    custom local domain aliases for local dev servers

    Caddy is really great. In prod, but most surprisingly for all environments.

    - There's a great tool, localias, which uses Caddy for a local dev server https://github.com/peterldowns/localias

    - I use it locally for dev https://github.com/iloveitaly/python-starter-template/blob/m... which aligns tricky bits of a web app like HTTP redirect, cookies, and CORS to work consistently across dev and prod.

    - Can be used on GHA for HTTPS as well https://github.com/iloveitaly/github-action-localias

  10. python-starter-template

    Application template for a python backend and react router SPA frontend

    Caddy is really great. In prod, but most surprisingly for all environments.

    - There's a great tool, localias, which uses Caddy for a local dev server https://github.com/peterldowns/localias

    - I use it locally for dev https://github.com/iloveitaly/python-starter-template/blob/m... which aligns tricky bits of a web app like HTTP redirect, cookies, and CORS to work consistently across dev and prod.

    - Can be used on GHA for HTTPS as well https://github.com/iloveitaly/github-action-localias

  11. github-action-localias

    Setup localias domains on GitHub Actions

    Caddy is really great. In prod, but most surprisingly for all environments.

    - There's a great tool, localias, which uses Caddy for a local dev server https://github.com/peterldowns/localias

    - I use it locally for dev https://github.com/iloveitaly/python-starter-template/blob/m... which aligns tricky bits of a web app like HTTP redirect, cookies, and CORS to work consistently across dev and prod.

    - Can be used on GHA for HTTPS as well https://github.com/iloveitaly/github-action-localias

  12. minica

    minica is a small, simple CA intended for use in situations where the CA operator also operates each host where a certificate will be used.

    I was only commenting about DNS part, self signed certificates come with their own lot of trouble. At least I havent ever run into any cache issues with local resolvers.

    I have previously used https://github.com/jsha/minica which makes it at least easy to create a root certificate and matching server cert. How to get that root cert trusted on different array of devices is another story.

  13. nodubs

    Minimal, indiscriminate, www-prefix stripper.

    You can use Caddy's CertMagic library in your own server, if you want something super-lightweight.

    Here's a little POC I did for doing the opposite of apextowww: https://github.com/timdev/nodubs/blob/main/nodubs.go

  14. pico

    services that empower developers using ssh (by picosh)

    Caddy made it possible for us at https://pico.sh to provide on demand tls for user subdomains and custom domains.

    It really was pretty easy to setup and “just works”

  15. vouch-proxy

    an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

    With nginx I'm assuming you would use something like Vouch or oauth2-proxy? Something like the architecture described here:

    https://github.com/vouch/vouch-proxy?tab=readme-ov-file#what...

    Can't speak for caddy-security, but the forward_auth feature is the caddy equivalent to nginx's auth_request

  16. docker-swag

    Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.

    There are already full solution for things like that i.e. https://github.com/linuxserver/docker-swag

  17. blog-posts

    Blog posts and related code by Sebastián Ramírez (@tiangolo)

    I do not have in-depth knowledge of traefik unfortunately. I tried it a while ago, but decided to switch to the setup mentioned above for the setup simplicity. For my use-case, the setup mentioned on github under "Basic usage example, using docker-compose" plus adding two lines to a docker-compose file has been enough for most of my use-cases, and never given me any trouble.

    I think achieving a similar setup in traefik (e.g. https://github.com/tiangolo/blog-posts/blob/master/deploying...) would be more complicated, and I felt like I was not sure what all the labels did or how to adapt the setup.

  18. oauth2-proxy

    A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.

    I believe it's almost always the "groups" claim <https://github.com/oauth2-proxy/oauth2-proxy/issues?q=cookie...> but I would suspect any sufficiently large set of claims would do it (e.g. a huge "iss", erroneously returning the user profile jpeg attribute, who knows)

  19. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Stunnel working configuration - Help needed

    2 projects | /r/linuxadmin | 19 Mar 2022
  • OpenSSL 3.5 [LTS] Released

    1 project | news.ycombinator.com | 8 Apr 2025
  • Convert enum into/from number in Rust

    1 project | dev.to | 17 Mar 2025
  • An Introduction to Cosmo Router — Blazingly Fast Open-Source Federation V1/V2 Gateway

    6 projects | dev.to | 10 Mar 2025
  • Universal approach to integrate OAuth 2.0 and OpenID Connect into web apps and backends

    1 project | dev.to | 25 Feb 2025