Add cert command and config

This commit is contained in:
Jon Staab
2025-10-01 07:38:47 -07:00
parent 14da64638c
commit 9bda1643a4
2 changed files with 19 additions and 6 deletions
+4 -3
View File
@@ -136,13 +136,14 @@ cp /home/zooid/zooid/zooid.service /etc/systemd/system/zooid.service
systemctl enable zooid
service zooid start
# Set up a SSL certificate
# Use another method or --manual-auth-hook and --manual-cleanup-hook to automate renewal
certbot certonly --manual -d '*.yourdomain.com' --preferred-challenges=dns
# Set up nginx - be sure to edit the server_name to your domain
cp /home/zooid/zooid/nginx.conf /etc/nginx/sites-available/zooid.conf
ln -s /etc/nginx/sites-{available,enabled}/zooid.conf
# Set up a SSL certificate - you'll need to verify and renew this manually
certbot --nginx -d '*.yourdomain.com'
# Enable the site and restart nginx
service nginx restart
```