Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

ghost blog ssl renew script is not working #78

Open
max-mapper opened this issue Nov 1, 2017 · 1 comment
Open

ghost blog ssl renew script is not working #78

max-mapper opened this issue Nov 1, 2017 · 1 comment

Comments

@max-mapper
Copy link
Contributor

our blog's ssl cert went bad today. i went in the server and noticed this in the crontab:

15 3 * * * sudo service stop nginx && /usr/bin/certbot renew --quiet --renew-hook "/bin/systemctl reload nginx"

I tried running that and got errors. so I dont think that command is correct, or maybe I was doing something wrong. Also we're running the blog process as root which is probably bad.

@mafintosh
Copy link

sudo system nginc stop should fix it i think but using add-nginx-ssl would fix it as well without having to restart nginx on renew

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants