Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jan 24, 2024
1 parent bc599f2 commit c3e41c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/haproxyTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ function createAppsHaproxyConfig(appConfig) {
const aclName = app.domain.split('.').join('');
tcpAppsMap[port].acls.push(` acl ${aclName} req.ssl_sni -i ${app.domain}`);
tcpAppsMap[port].usebackends.push(` use_backend ${domainUsed}_tcp_backend if ${domainUsed}\n`);
tcpAppsMap[port].backends.push(domainBackend);
if (!tcpAppsMap[port].backends.includes(domainBackend)) {
tcpAppsMap[port].backends.push(domainBackend);
}
}
}
const redirects = '';
Expand Down

0 comments on commit c3e41c0

Please sign in to comment.