Update README.md
parent
b82a484a3c
commit
004779cd1b
|
|
@ -8,7 +8,7 @@ This script will work with FreeNAS 11.3, and it should also work with TrueNAS CO
|
|||
|
||||
### Prerequisites
|
||||
|
||||
:pushpin: *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.*
|
||||
:pushpin: *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 for 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`.
|
||||
|
||||
|
|
@ -29,9 +29,6 @@ Many of the options are self-explanatory, and all should be adjusted to suit you
|
|||
- DEFAULT_GW_IP is the address for your default gateway
|
||||
- POOL_PATH is the path for your data pool.
|
||||
- HOST_NAME is the fully-qualified domain name you want to assign to your installation. If you are planning to get a Let's Encrypt certificate (recommended), you must own (or at least control) this domain, because Let's Encrypt will test that control. If you're using a self-signed cert, or not getting a cert at all, it's only important that this hostname resolve to your jail inside your network.
|
||||
- DNS_CERT indicate use of DNS validation for Let's Encrypt. If used, it must be set to 1.
|
||||
- DNS_PLUGIN: If DNS_CERT is set, DNS_PLUGIN must contain the name of the DNS validation plugin you'll use with Caddy to validate domain control. At this time, the only valid value is cloudflare.
|
||||
- DNS_TOKEN: If DNS_CERT is set, this must be set to a properly-scoped Cloudflare API Token. You will need to create an API token through Cloudflare's dashboard, which must have "Zone / Zone / Read" and "Zone / DNS / Edit" permissions on the zone (i.e., the domain) you're using for your installation. See [this documentation](https://github.com/libdns/cloudflare) for further details.
|
||||
|
||||
In addition, there are some other options which have sensible defaults, but can be adjusted if needed. These are:
|
||||
|
||||
|
|
@ -39,7 +36,9 @@ In addition, there are some other options which have sensible defaults, but can
|
|||
- CONFIG_PATH: This is the path to your Caddyfile, defaults to $POOL_PATH/caddy.
|
||||
- INTERFACE: The network interface to use for the jail. Defaults to vnet0.
|
||||
- VNET: Whether to use the iocage virtual network stack. Defaults to on.
|
||||
CERT_EMAIL is the email address Let's Encrypt will use to notify you of certificate expiration, or for occasional other important matters. This is optional. If you are using Let's Encrypt, though, it should be set to a valid address for the system admin.
|
||||
- DNS_PLUGIN: DNS_PLUGIN contains the name of the DNS validation plugin you'll use with Caddy to validate domain control.
|
||||
|
||||
Also, HOST_NAME needs to resolve to your jail from inside your network. You'll probably need to configure this on your router. If you're unable to do so, you can edit the hosts file on your client computers to achieve this result.
|
||||
|
||||
### Execution
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue