An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Reload proxy after ssl renewal
Andras Bacsai892d8cd5c1fe
diff --git a/src/lib/queues/sslrenewal.ts b/src/lib/queues/sslrenewal.tsindex e16b4e3a1f..807aa34c5e 100644--- a/src/lib/queues/sslrenewal.ts+++ b/src/lib/queues/sslrenewal.ts@@ -1,10 +1,12 @@import { asyncExecShell } from '$lib/common';+import { reloadHaproxy } from '$lib/haproxy';export default async function () {try {- return await asyncExecShell(+ await asyncExecShell(`docker run --rm --name certbot-renewal -v "coolify-letsencrypt:/etc/letsencrypt" certbot/certbot --logs-dir /etc/letsencrypt/logs renew`);+ await reloadHaproxy('unix:///var/run/docker.sock');} catch (error) {throw error;}