chore (infra): add TLS cert generation script

This commit is contained in:
thomasabishop 2025-04-05 18:26:45 +01:00
parent 04bcde7b54
commit 86037a16ea

View file

@ -0,0 +1,15 @@
#!/bin/bash
echo "INFO Updating TLS certificates..."
cd /home/thomas/self-host/proxy/nginx
sudo docker compose down
sleep 2
sudo certbot delete --certname systemsobscure.net
sleep 2
sudo certbot certonly --standalone -d systemsobscure.net -d grafana.systemsobscure.net -d bookmarks.systemsobscure.net -d forgejo.systemsobscure.net