I was trying to use Dokku today on my Digital Ocean machine. (1G memory, 25G Disk, SFO2 region)
that's the only thing I do on that Droplet today.
Dokku is like a mini-Heroku.
My blog (you are reading it right now) (domain: 1c7.me) went down.
seem like it somehow Dokku mess up my nginx config.
(Can't be sure, but seem like so)
How to fix it
and I check
there are 3 file:
1c7.me-ssl.conf 1c7.me.conf default
so I try:
sudo ln -s /etc/nginx/sites-available/1c7.me-ssl.conf /etc/nginx/sites-enabled/1c7.me-ssl.conf sudo ln -s /etc/nginx/sites-available/1c7.me.conf /etc/nginx/sites-enabled/1c7.me.conf sudo nginx -t sudo nginx -s reload
Work for me
Now my Ghost blog working again