fix: coolify instance proxy

This commit is contained in:
Andras Bacsai 2022-11-08 10:08:47 +01:00
parent c15e060ef2
commit a955eb0fec

View File

@ -470,7 +470,7 @@ export async function proxyConfiguration(request: FastifyRequest<OnlyId>, remote
const isCustomSSL = false
traefik.http.routers = { ...traefik.http.routers, ...generateRouters(`${id}-${port || 'default'}-${pathPrefix}`, `${id}-${port || 'default'}`, domain, nakedDomain, pathPrefix, isHttps, isWWW, dualCerts, isCustomSSL) }
traefik.http.services = { ...traefik.http.services, ...generateServices(id, container, port) }
traefik.http.services = { ...traefik.http.services, ...generateServices(`${id}-${port || 'default'}`, container, port) }
}
} catch (error) {
console.log(error)