I then thought it would be easy to add another Wordpress site.
I added the details for the Wordpress site to the /etc/Caddyfile.
Caddy would not restart. I fiddled with the settings, no luck, then just deleted the added Wordpress details so that the original /etc/Caddyfile content was left, but now it still won’t start. journalctl -u caddy gives me 2017/07/28 05:42:43 /etc/Caddyfile:51 - Parse error: Unexpected EOF and again 2017/07/28 05:44:08 /etc/Caddyfile:52 - Parse error: Unexpected EOF
Other Wordpress tutorials suggested particular plugins to be bundled with Caddy, but all I used to install that was the above script. Why would Caddy be stalling here. I thought all I needed to do was add to the Caddyfile.
PhP is installed, fastcgi / /var/run/php/php7.0-fpm.sock php, and running.
I am not sure if my reverse
Any ideas? Is there more to running both Ghost blogs and a Wordpress blogs?
Could you direct me to the page with formatting instructions please? I just tried thre backticks but nothing happened.
I added the space and restarted, let’s see.
EDIT: Welp, Caddy does start up, the two Ghost blogs are blazing fast, but the Wordpress site returns a 502 Bad Gateway error. Not sure what that is. Is this something to do with PHP-FPM?
The first time(s) you write a topic, a help text appears and the first point says:
Enclose Caddyfile contents and code in three backticks (```) on their own line for formatting.
This is just usual Markdown formatting as is on other forums and sites (Stack Overflow sites, GitHub, and a number of other software).
Hm, a 502 error means it’s having trouble communicating with FastCGI and/or your backend. You can google around for that error and look on the Caddy wiki.