mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-29 06:10:47 +00:00
add cert resolver?
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user