diff --git a/Running-Caddy-on-Android.md b/Running-Caddy-on-Android.md new file mode 100644 index 0000000..693e4ab --- /dev/null +++ b/Running-Caddy-on-Android.md @@ -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.) \ No newline at end of file