mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 01:24:58 +02:00
add cert resolver?
This commit is contained in:
parent
cdb76bb071
commit
1ab32f5fb7
1 changed files with 4 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue