add cert resolver?

This commit is contained in:
Milo Schwartz 2024-10-20 15:00:19 -04:00
parent cdb76bb071
commit 1ab32f5fb7
No known key found for this signature in database

View file

@ -26,13 +26,16 @@ export function buildTraefikConfig(
): DynamicTraefikConfig {
const middlewareName = "badger";
const http: DynamicTraefikConfig["http"] = {
const http: any = {
routers: {
main: {
entryPoints: ["https"],
middlewares: [],
service: "service-main",
rule: "Host(`" + new URL(config.app.base_url).hostname + "`)",
tls: {
certResolver: "letsencrypt",
}
},
},
services: {