Merge pull request #309 from ca110us/canary

fix: align entry point names in configs
This commit is contained in:
Mauricio Siu
2024-08-01 10:19:45 -06:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ test("Should not touch config without host", () => {
expect(originalConfig).toEqual(config);
});
test("Should remove web-secure if https rollback to http", () => {
test("Should remove websecure if https rollback to http", () => {
const originalConfig: FileConfig = loadOrCreateConfig("dokploy");
updateServerTraefik(

View File

@@ -25,7 +25,7 @@ export const updateServerTraefik = (
if (admin?.certificateType === "letsencrypt") {
config.http.routers[`${appName}-router-app-secure`] = {
...currentRouterConfig,
entryPoints: ["web-secure"],
entryPoints: ["websecure"],
tls: { certResolver: "letsencrypt" },
};