2025-03-14 14:39:59 +00:00

Caddyfile Samples

The Caddyfile samples in this directory are for use with --backend-mode caddy ./my.Caddyfile which runs an embedded Caddy server.

With a zrok reserved share, you have the option to permanently override the path to the Caddyfile when you run zrok share reserved ${ZROK_RESERVED_TOKEN} --override-endpoint new.Caddyfile.

The Caddyfile must have this structure because it is rendered as a Go template by zrok to bind the HTTP listener.

http:// {
    bind {{ .ZrokBindAddress }}
    # customize reverse_proxy, file_server, etc.
}

Notes

multiple_upstream.Caddyfile is bundled in the zrok-share package for Linux as an example Caddyfile.

Description
Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
Readme Apache-2.0 40 MiB
Languages
Go 36.1%
Python 33.1%
TypeScript 20.8%
HTML 5.3%
MDX 2.6%
Other 2%