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
WIP proxy
Andras Bacsaicb90f692f217
diff --git a/src/lib/haproxy/configuration.ts b/src/lib/haproxy/configuration.tsindex d12fdad776..76a2623f43 100644--- a/src/lib/haproxy/configuration.ts+++ b/src/lib/haproxy/configuration.ts@@ -60,10 +60,11 @@ backend backend-certbotserver certbot host.docker.internal:9080{{#applications}}-+{{#isRunning}}backend {{domain}}option forwardforserver {{id}} {{id}}:{{port}}+{{/isRunning}}{{/applications}}{{#services}}@@ -108,6 +109,7 @@ export async function configureHAProxy() {id,port,domain,+ isRunning,isHttps,redirectValue,redirectTo: isWWW ? domain : 'www.' + domain@@ -139,7 +141,7 @@ export async function configureHAProxy() {// }// }const output = mustache.render(template, data);- const newHash = crypto.createHash('md5').update(JSON.stringify(template)).digest('hex');+ const newHash = crypto.createHash('md5').update(output).digest('hex');const { proxyHash, id } = await db.listSettings();if (proxyHash !== newHash) {await db.prisma.setting.update({ where: { id }, data: { proxyHash: newHash } });