Caddy

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

Caddy Alternatives

Similar projects and alternatives to Caddy

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Caddy alternative or higher similarity.

Caddy discussion

Log in or Post with

Caddy reviews and mentions

Posts with mentions or reviews of Caddy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-08-25.
  • Server Setup Basics for Self Hosting
    3 projects | news.ycombinator.com | 25 Aug 2024
    I recommend checking out [Caddy](https://caddyserver.com/), which replaces both Nginx and Certbot in this setup.

    [Tailscale](https://tailscale.com/) can remove the need to open port 22 to the world, but I wouldn't rely on it unless your VPS provider has a way to access the server console in case of configuration mistakes.

  • Show HN: Plain Vanilla – a tutorial website for vanilla web development
    3 projects | news.ycombinator.com | 3 Aug 2024
    Caddy [1] can act as a static file server that will default to HTTP 2 if all parties support it. No configuration required.

    If you allow UDP connections in your firewall, it will upgrade to HTTP 3 automagically as well.

    I highly recommend it

    [1] https://caddyserver.com/

  • Web-server X Load Balancers
    1 project | dev.to | 26 Jul 2024
    After testing the dockerization, the next thing to work on was the Load Balancer. There are a number of tools to choose from, but I chose to work with Caddy
  • Ask HN: Is there any software you only made for your own use but nobody else?
    65 projects | news.ycombinator.com | 4 Jul 2024
    It's a glorified local setup, running in a cloud free tier.

    - Oracle Cloud Free Tier[1] for a Ubuntu VPS (4 ARM cores, 24 GB RAM). Surprisingly pleasant and reliable, given who's offering and for how much ($0). It used to be a FreeBSD VPS on DigitalOcean, until they kept screwing up their FreeBSD support and bricking my machines.

    - Caddy[2] web server with Let's Encrypt certificates, working as reverse proxy.

    - A Go server for HTTP (static files, uploads, maintaining server-sent-event channels).

    - A Python server for the widgets, communicating with the Go server via events exchanged in a socket.

    - Source code edited manually in-place (SSH or SSHFS[3], with Git) and restarted as needed. I know, I know, awful practice. But as I'm the only user, uptime during development is not a concern.

    - Startup is handled by a @reboot cronjob and a bash one liner.

    - Text files for "structured storage" (RSS feed items, authenticated sessions, mapping of uploaded file names).

    As horrible as it might all sound, it has survived ten years and two cloud vendors. Nowadays I might containerize it, or rewrite as one Rust server, but I think I made the right choices at the time.

    8/10 given the unusual requirements.

    [1] https://www.oracle.com/cloud/free/

    [2] https://caddyserver.com/

    [3] https://github.com/winfsp/sshfs-win

  • Caddy 2.8
    7 projects | news.ycombinator.com | 29 May 2024
  • How I use Devbox in my Elm projects
    15 projects | dev.to | 2 May 2024
    These projects use Caddy as my local development server, Dart Sass for converting my Sass files to CSS, elm, elm-format, elm-optimize-level-2, elm-review, elm-test (only in Calculator), ShellCheck to find bugs in my shell scripts, and Terser to mangle and compress JavaScript code.
  • Why Does Windows Use Backslash as Path Separator?
    4 projects | news.ycombinator.com | 24 Apr 2024
    No, look at the associated unit test: https://github.com/caddyserver/caddy/blob/c6eb186064091c79f4...

    If that test fails we could serve PHP source code instead of having it be evaluated, a major security flaw.

  • How to securely reverse-proxy ASP.NET Core web apps
    3 projects | dev.to | 4 Apr 2024
    However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:
  • HTTP/2 Continuation Flood: Technical Details
    2 projects | news.ycombinator.com | 4 Apr 2024
    I think that recompiling with upgraded Go will not solve the issue. It seems Caddy imports `golang.org/x/net/http2` and pins it to v0.22.0 which is vulnerable: https://github.com/caddyserver/caddy/issues/6219#issuecommen....
  • Show HN: Nano-web, a low latency one binary webserver designed for serving SPAs
    8 projects | news.ycombinator.com | 25 Mar 2024
    Caddy [1] is a single binary. It is not minimal, but the size difference is barely noticeable.

    serve also comes to mind. If you have node installed, `npx serve .` does exactly that.

    There are a few go projects that fit your description, none of them very popular, probably because they end up being a 20-line wrapper around http frameworks just like this one.

    [1] https://caddyserver.com/

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 8 Sep 2024
    InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. Learn more →

Stats

Basic Caddy repo stats
409
56,832
9.5
5 days ago

caddyserver/caddy is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of Caddy is Go.


Sponsored
Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com

Did you konow that Go is
the 4th most popular programming language
based on number of metions?