Created Running Caddy on Android (markdown)

Matt Holt 2015-04-26 18:31:04 -06:00
parent dd4dc54044
commit afce4ba7e0

@ -0,0 +1,18 @@
Caddy is available for Linux ARM, which means it can run on newer Android phones.
## Requirements
- Android phone with ARM architecture
- adb (part of the Android SDK; if you have Android Studio, you already have adb)
- A copy of [Caddy for Linux ARM](https://caddyserver.com/download)
## Basic Instructions
Assuming the ARM binary is called `caddy`, run:
```bash
adb push caddy /data/local/tmp
adb shell "cd /data/local/tmp; chmod 755 caddy; ./caddy"
```
You may also want to push a Caddyfile. If you set the address to be your phone's IP address on your LAN, you should be able to access it from anywhere in your LAN. (For more fun, set up port forwarding on your border router to bypass the NAT and you should be able to access your phone from anywhere.)