fix: do not remove coolify proxy

This commit is contained in:
Andras Bacsai 2022-02-27 12:17:40 +01:00
parent 980dea64e0
commit 4cf907c572

View File

@ -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();