Skip to content

Instantly share code, notes, and snippets.

@59naga
Last active April 11, 2019 23:47
Show Gist options
  • Save 59naga/a39b5625ae72e47880d11942700feeb8 to your computer and use it in GitHub Desktop.
Save 59naga/a39b5625ae72e47880d11942700feeb8 to your computer and use it in GitHub Desktop.
ssh forcerenewal
`--standalone` 安定しないのでサーバー止めてやる
- https://qiita.com/shozzy/items/372bb9e4a76076d7021e
```
./certbot-auto certonly --webroot -w /var/www/html -d v157-7-52-20.z1d20.static.cnode.jp -n --agree-tos --force-renewal
apachectl -k stop
pm2 kill && PORT=443 pm2 start index.js --node-args="-r esm"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment