self-host/scripts/regenerate_certificates.sh
2025-04-05 18:38:12 +01:00

15 lines
339 B
Bash

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