This is left only for historical purposes. The updated scripts are at https://getcaddy.com
A script to install caddy server.
On OS X and most *nixes
curl -fsSL bit.ly/install-caddy | bash
On Ubuntu and minimal *nix installations
wget -nv bit.ly/install-caddy -O - | bash
If you want to quickly share a file with a friend or do some web development over http (don't worry, https forthcoming)
- Go into the directory where the files are
pushd /path/to/directory
- Run
caddy-browse
(or justcaddy
if you already have aCaddyfile
there)
caddy-browse
# or if you have a Caddyfile
caddy
- Enjoy http at your IP address