- MySQL database
- NGINX reverse proxy. HTTP redirects to HTTPS
- PHP7.4
- DCHP settings
- letsencrypt script
On FreeNAS root shell:
curl -o /tmp/wordpress.json https://raw.githubusercontent.com/waterlou/iocage-plugin-wordpress/master/wordpress.json
iocage fetch -P /tmp/wordpress.json
Then you should able to see Ghost page at Plugins -> lychee -> Manage
By default, the plugin use localhost as the default URL, that will break most links in Ghost. You should set the url to the FreeNAS. e.g. http://freenas.local:2368 or http://192.168.1.11:2368
TODO:
Setup Port forward in router
To change this setting, run the following in the jail shell:
cd /usr/local/share/ghost
ghost stop
ghost config set url http://mydomain.com
ghost start
TODO:
Instruction to mount content path
TODO:
Setup Letsencrypt
Ghost is stored in:
/usr/local/share/lychee
Content is stored in:
/usr/local/share/ghost/content
that you can mount to external storage.
https://linoxide.com/linux-how-to/install-ghost-nginx-freebsd-10-2/
https://www.ixsystems.com/documentation/freenas/11.3-U2/plugins.html#create-a-plugin