Install latest/stable of caddy
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
## Unofficial snap ##
Caddy is a powerful, extensible platform to serve your sites, services, and apps, written in Go.
Most people use Caddy as a web server or proxy, but at its core, Caddy is a server of servers. With the requisite modules, it can take on the role of any long-running process!
Configuration is both dynamic and exportable with Caddy's API. Although no config file is required, you can still use them; most people's favorite way of configuring Caddy is using the Caddyfile. The format of the config document takes many forms with config adapters, but Caddy's native config language is JSON.
This particular snap has a few key features:
snap set caddy config='{...}'
caddy-wrapper will consume this configuration value and pass that to caddy.
snap connect caddy:caddy-content <snap>:caddy-content
Provider snaps should expose the content as READ to "<foo>", and that content should be available to caddy at "$SNAP/var/www/<foo>"
snap get caddy modified
Modules can be specified by the gadget snap which caddy will fetch on first installation via the default-configure hook.
Importantly, configuration is handled via snap config values. Because Caddy's API uses JSON for configuration, this is a natural choice. For an example of a simple test, refer to the project README on the website.
Of course, for users opting to use the CLI directly any method for supplying a configuration can be used.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.