Add getcaddy.com instructions

Matt Holt 2016-06-07 12:50:04 -06:00
parent b3dbd6c997
commit b4da0362cf

@ -2,6 +2,27 @@ So far, there are two confirmed ways to run Caddy on Android: Termux and adb. (I
# Using [Termux](https://termux.com/) (root not required)
### Method 1: getcaddy.com
This is the easiest way. Ensure curl is installed (`apt install curl`), then:
```bash
curl https://getcaddy.com | bash
```
You can use `-s` to get Caddy with plugins:
```bash
curl https://getcaddy.com | bash -s ipfilter,jwt
```
Allow the download a minute to start after submitting the command.
Then run `caddy` to start the server!
### Method 2: Build from source
This method downloads and builds Caddy from source directly on your device.
Put these commands into a bash script and run it. You can, of course, customize this as desired. For example, you may replace nano with any other editor in the [list of available packages](https://github.com/termux/termux-packages/tree/master/packages).