Scripts to install your own Ghost blog on Ubuntu, Debian or CentOS, with Caddy (as a reverse proxy).
Powered by Node.js, Ghost blog is a simple and modern WordPress alternative which puts the excitement back into blogging. It's beautifully designed, easy to use, completely open source, and free for everyone.
A dedicated server or Virtual Private Server (VPS), freshly installed with:
First, update your system with apt-get update && apt-get upgrade and reboot. This is optional, but recommended.
wget https://git.io/setup-ghost.sh
bash setup-ghost.sh BLOG_FULL_DOMAIN_NAME
Note: Replace BLOG_FULL_DOMAIN_NAME above with your actual full domain name. The latest v0.11-LTS version of Ghost blog will be automatically installed.
Unfortunately if you're on CDN then Caddy can't obtain cert for you. You have to do some work, see DNS Challenge on here
alternatively you can turn off tls. edit Caddyfile located on /etc/Caddyfile and remove email after tls and add word off
If you want to show your appreciation, you can donate via Bitcoin. Thanks!
1GN7M2W4eAXTLDCeskwsgqJB9gFA3gLqPB
This script is based on Lin Song Nginx version