Ghost failed to detect nginx running on CentOS
Issue Summary
Ghost install on CentOS 7.6 failed to detect nginx – see screenshot
To Reproduce
Install NGINX
yum install epel-release -y
yum install nginx -y
systemctl start nginx
Install MySQL
yum install mariadb-server -y
systemctl start mariadb && systemctl enable mariadb
mysql_secure_installation
Install NODEJS and NPM
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
yum install nodejs -y
Install Ghost-CLI
sudo npm install ghost-cli@latest -g
Create a directory and Sudo account
useradd
usermod -aG wheel
sudo mkdir -p /var/www/ghost
sudo chown : /var/www/ghost
sudo chmod 775 /var/www/ghost
cd /var/www/ghost
Run the install process
ghost install
Technical details:
- Ghost Version: 1.11.0
- Node Version: 10.16.3
- Browser/OS: Chrome
- Database: MySQL