Skip to content

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.

fix: do not remove coolify proxy

Andras Bacsai4cf907c57283
diff --git a/src/lib/haproxy/index.ts b/src/lib/haproxy/index.ts
index 09d7badd75..0d1d14fd20 100644
--- a/src/lib/haproxy/index.ts
+++ b/src/lib/haproxy/index.ts
@@ -199,6 +199,13 @@ export async function checkProxyConfigurations() {
backend_name: backendName,
stats: { lastchg }
} = stat;
+ const { fqdn } = await db.listSettings();
+ if (fqdn) {
+ const domain = getDomain(fqdn);
+ if (backendName === domain) {
+ return;
+ }
+ }
const application = await db.getApplicationById(name);
if (!application) {
const transactionId = await getNextTransactionId();