|
|
Line 1: |
Line 1: |
| Details on how the instance is configured! sort of scattered throughout different pages, so maintenance welcome!
| | #REDIRECT [[Admin]] |
| | |
| == Certs ==
| |
| | |
| We use [[certbot]] for our SSL certificates! The certificates need to be renewed every 3 months, there should be a <code>cron</code> task that attempts to renew them twice per day:
| |
| | |
| (in <code>/etc/crontab</code>)
| |
| | |
| <pre>
| |
| 0 0,12 * * * root sleep 559 && certbot renew --nginx -q
| |
| </pre>
| |
| | |
| generated according to the [https://eff-certbot.readthedocs.io/en/stable/using.html#automated-renewals certbot docs], adding the nginx flag for our particular config.
| |
| | |
| Otherwise, from an account that has sudo/root, just run
| |
| | |
| <pre>
| |
| sudo certbot renew --nginx
| |
| </pre>
| |
| | |
| == Shutdown ==
| |
| | |
| {{Message
| |
| |Author=sneakers-the-rat
| |
| |Avatar=https://cdn.discordapp.com/avatars/305044217393053697/2970b22bd769d0cd0ee1de79be500e85.png?size=1024
| |
| |Date Sent=22-12-17 06:03:49
| |
| |Channel=techwg-ops
| |
| |Text=[[Tech WG/Ops Diary#22-12-16 Upgrading Linode Ram]] Following the instructions to
| |
| * [[Resizing Linode]] [[Linode]]: https://www.linode.com/docs/guides/resizing-a-linode/
| |
| * [[Mastodon/Admin#Shutdown]]: https://docs.joinmastodon.org/admin/migrating/ from the migraing docs
| |
| |Link=https://discord.com/channels/1049136631065628772/1052452072806686751/1053553085525545010
| |
| }}
| |
| | |
| == See Also ==
| |
| | |
| * [[Maintenance]]
| |
| | |
| == Resources ==
| |
| | |
| * https://hazelweakly.me/blog/scaling-mastodon/
| |