Quickstart

A minimal deployment takes three files and roughly five minutes.

1. Install

curl -fsSL https://example.invalid/beacon-edge.tar.gz -o beacon.tgz
tar -xzf beacon.tgz
sudo install -m 0755 beacon /usr/local/bin/beacon

2. Write the config

A single site block is enough. Replace the domain and the backend port with your own values.

docs.example.com {
    root * /var/www/docs

    @stream path /api/v2/media*
    handle @stream {
        reverse_proxy 127.0.0.1:10086 {
            flush_interval -1
            transport http { versions h2c }
        }
    }

    handle {
        encode zstd gzip
        file_server
    }
}

3. Start and verify

sudo systemctl enable --now beacon
curl -sI https://docs.example.com/ | head -1
curl -s  https://docs.example.com/api/v2/media/health

The first request triggers certificate issuance over HTTP-01, so port 80 must be reachable at that moment. Later renewals use the same path.

A 200 from the static page and a 404 from the API path are both healthy. The API returning the site's index page would mean the path matcher is wrong.