debug
This commit is contained in:
parent
71ce9a6b37
commit
7627d59d43
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ async function applicationConfiguration(traefik: any, remoteId: string | null =
|
||||||
const configurableApplications = []
|
const configurableApplications = []
|
||||||
if (applications.length > 0) {
|
if (applications.length > 0) {
|
||||||
for (const application of applications) {
|
for (const application of applications) {
|
||||||
|
console.log(application)
|
||||||
const {
|
const {
|
||||||
fqdn,
|
fqdn,
|
||||||
id,
|
id,
|
||||||
|
|
@ -113,6 +114,7 @@ async function applicationConfiguration(traefik: any, remoteId: string | null =
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (const application of configurableApplications) {
|
for (const application of configurableApplications) {
|
||||||
|
console.log(application.id)
|
||||||
let { id, port, isCustomSSL, pathPrefix, isHttps, nakedDomain, isWWW, domain, dualCerts } = application
|
let { id, port, isCustomSSL, pathPrefix, isHttps, nakedDomain, isWWW, domain, dualCerts } = application
|
||||||
if (isHttps) {
|
if (isHttps) {
|
||||||
traefik.http.routers[`${id}-${port || 'default'}`] = generateHttpRouter(`${id}-${port || 'default'}`, nakedDomain, pathPrefix)
|
traefik.http.routers[`${id}-${port || 'default'}`] = generateHttpRouter(`${id}-${port || 'default'}`, nakedDomain, pathPrefix)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue