|
||
---|---|---|
includes | ||
LICENSE | ||
README.md | ||
caddy-jail.sh |
README.md
freenas-iocage-caddy
This script will create an iocage jail on FreeNAS 11.3 or TrueNAS CORE 12.0 with the latest Caddy 2.x release.
Status
This script will work with FreeNAS 11.3, and it should also work with TrueNAS CORE 12.0. Due to the EOL status of FreeBSD 11.2, it is unlikely to work reliably with earlier releases of FreeNAS.
Usage
Prerequisites
[In this implementation, I've kept Caddyfile outside the jail in /caddy. I wasn't sure whether it might be interesting or useful to, say, keep the certificates outside the jail as well. I'll leave this you to ponder.]
Although not required, it's recommended to create a Dataset named nextcloud
on your main storage pool. If this is not present, a directory /nextcloud
will be created in $POOL_PATH
.