Caddy on Android with on-demand TLS

preview_player
Показать описание
Here I demo using Caddy on an Android tablet to serve a live website over HTTPS. Notice that the domain was NOT specified when the server started; instead, a TLS certificate was obtained from Let's Encrypt at time of request. Caddy is the only web server which does this.

My domain name was pointed to my home router, then I forwarded ports 80 and 443 to my computer, where Caddy proxied to my tablet (also running Caddy). I proxied for two reasons: my tablet isn't rooted (necessary to use low ports) and crypto is much faster on the Macbook. This demo is also useful if you want to set up an Android cluster at home and load balance them with your computer.

Sorry for the shaky cam... I did this old-school.
Рекомендации по теме
Комментарии
Автор

awesome! keep up with the great project!

NinoMsterChannel
Автор

Can you show your Caddyfile ? You omitted the most obvious thing. I don't see it anywhere.

ZioMarietto
Автор

Hello can you make tutorial on how to get caddy running on Android? I want to use an old android phone to run Caddy to reverse proxy some ip cameras on my network. Want to reuse old phone if possible thanks

XxViralCodexX