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
fix: previews wbh
Andras Bacsaid80d2ab93432
diff --git a/apps/api/src/routes/webhooks/traefik/handlers.ts b/apps/api/src/routes/webhooks/traefik/handlers.tsindex 3afdc78224..47e78f3cca 100644--- a/apps/api/src/routes/webhooks/traefik/handlers.ts+++ b/apps/api/src/routes/webhooks/traefik/handlers.ts@@ -314,7 +314,7 @@ export async function proxyConfiguration(request: FastifyRequest<OnlyId>, remoteconst nakedDomain = previewDomain.replace(/^www\./, '');const pathPrefix = '/'- traefik.http.routers = { ...traefik.http.routers, ...generateRouters(`${id}-${port || 'default'}`, domain, nakedDomain, pathPrefix, isHttps, isWWW, dualCerts, isCustomSSL) }+ traefik.http.routers = { ...traefik.http.routers, ...generateRouters(`${container}-${port || 'default'}`, domain, nakedDomain, pathPrefix, isHttps, isWWW, dualCerts, isCustomSSL) }traefik.http.services = { ...traefik.http.services, ...generateServices(id, container, port) }}}