mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
assets | ||
docs | ||
img | ||
search | ||
zrok-instance | ||
zrok-private-access | ||
zrok-private-share | ||
zrok-public-reserved | ||
.nojekyll | ||
404.html | ||
CNAME | ||
index.html | ||
multiple_upstream.Caddyfile | ||
opensearch.xml | ||
personalized-frontend-1.png | ||
README.md | ||
simple_reverse_proxy.Caddyfile | ||
sitemap.xml | ||
zrok_cover.png | ||
zrok_deployment.drawio | ||
zrok_deployment.png | ||
zrok_enable_modal.png | ||
zrok_frontends_v0.3.drawio | ||
zrok_frontends_v0.3.png | ||
zrok_interstitial_rendezvous.png | ||
zrok_not_found.png | ||
zrok_private_share.png | ||
zrok_public_share.png | ||
zrok_registration_success.png | ||
zrok_reserved_not_found.png | ||
zrok_share_public_drive_explorer.png | ||
zrok_share_public_drive.png | ||
zrok_share_public.png | ||
zrok_share_reserved.png | ||
zrok_share_web_files.png | ||
zrok_share_web_website.png | ||
zrok_v0.1_overview.png | ||
zrok_v0.2_overview.png | ||
zrok_verify.png | ||
zrok_web_console_empty.png | ||
zrok_web_console_environment_spark.png | ||
zrok_web_console_explorer_share.png | ||
zrok_web_console_share_detail.png | ||
zrok_web_console_share_frontend.png | ||
zrok_web_console.png | ||
zrok_web_login.png | ||
zrok_web_ui_empty_environment_detail.png | ||
zrok_web_ui_empty_shares.png | ||
zrok_web_ui_new_environment.png | ||
zrok_zoom_to_fit.png | ||
zrok.png |
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.