mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04:00
Add getcaddy.com instructions
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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user