backport updates

This commit is contained in:
AJ ONeal 2017-04-20 18:09:15 -06:00
parent 13ffcee315
commit fec5d7eb2f
1 changed files with 62 additions and 6 deletions

View File

@ -9,18 +9,45 @@ Works on
* systemd (Ubuntu, Fedora, Arch, etc)
* launchd (OS X, macOS, Darwin)
* **systemd** (Ubuntu, Fedora, Arch, etc)
* **launchd** (OS X, macOS, Darwin)
Quick 'n' Dirty
curl -L | bash
**Caddy + Features**:
curl -L | bash -s -- search,realip
The default site location is `/srv/www/` and the server begins immediately.
Install... the installer
Yes... you install the installer
curl -L -o install-caddy
sudo mv install-caddy /usr/local/bin/install-caddy
sudo chmod a+x /usr/local/bin/install-caddy
# download
curl -L -o install-caddy
#change permissions
sudo chown root:root ./install-caddy
sudo chmod a+x ./install-caddy
# move
sudo mv ./install-caddy /usr/local/bin/install-caddy
@ -39,6 +66,35 @@ Features:
Where do my websites go?
The default site is `/srv/www/localhost`.
If you own a domain (say then you
should put a new folder in `/srv/www` (such as `/srv/www/`)
and then edit `/etc/caddy/Caddyfile` to include a config such as this:
```Caddyfile {
root /srv/www/
} {
Start caddy on boot
Startup Scripts are installed by the installer :)
* **systemd** (Ubuntu, Fedora, Arch, etc)
* **launchd** (OS X, macOS, Darwin)
Caddy should begin running on ports 80 and 443 as soon as you install it
and should automatically start on boot