diff --git a/armbian/docker.md b/armbian/docker.md index 5761ddf..099586d 100644 --- a/armbian/docker.md +++ b/armbian/docker.md @@ -6,7 +6,6 @@ Containerized services for easy deployment and updates. - [https://docs.docker.com/install/](https://docs.docker.com/install/) - [https://docs.docker.com/install/linux/docker-ce/debian/](https://docs.docker.com/install/linux/docker-ce/debian/) -- [https://docs.docker.com/install/linux/docker-ce/ubuntu/](https://docs.docker.com/install/linux/docker-ce/ubuntu/) - [https://blog.alexellis.io/get-started-with-docker-on-64-bit-arm/](https://blog.alexellis.io/get-started-with-docker-on-64-bit-arm/) ## Pre Flight Setup diff --git a/services/caddy.md b/services/caddy.md new file mode 100644 index 0000000..6b803c5 --- /dev/null +++ b/services/caddy.md @@ -0,0 +1,102 @@ +# Web Service Proxy (caddy) + +Simple and efficient go based proxy server and static web host. TLS and more supported out of the box. Supports all kinds of arch's and you probably want to just use this as it's the simplest approach and leanest. + +## SSL Certs + +This assumes you've run the [Let's Encrypt](lets_encrypt.md) process to get your certificates setup properly. + +## Inspiration / Sources + +- [https://caddyserver.com/](https://caddyserver.com/) +- [https://github.com/lucaslorentz/caddy-docker-proxy](https://github.com/lucaslorentz/caddy-docker-proxy) + +## Docker Integration + +Please note the Docker plugin is for a *swarm* which is *not* setup in these docs. It does **NOT** apply to this build. + +## Install + +``` bash + +mkdir /var/log/caddy +mkdir -p /etc/caddy/services +chown www-data /var/log/caddy /etc/caddy +mkdir -p /var/www +chown www-data /var/www +mkdir /var/log/caddy +chown www-data /var/log/caddy +cat > /root/update_caddy.sh < /etc/caddy/Caddyfile < /etc/unbound/local_zone/caddy.conf <