lib: fix mkLabel function
This commit is contained in:
parent
bee284691a
commit
6a3585e7e5
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@
|
||||||
"traefik.http.routers.${name}.rule" = "Host(`${args.domain}`)";
|
"traefik.http.routers.${name}.rule" = "Host(`${args.domain}`)";
|
||||||
"traefik.http.routers.${name}.entrypoints" = "websecure";
|
"traefik.http.routers.${name}.entrypoints" = "websecure";
|
||||||
"traefik.http.routers.${name}.tls" = "true";
|
"traefik.http.routers.${name}.tls" = "true";
|
||||||
"traefik.http.routes.${name}.certresolver" = "cloudflare";
|
"traefik.http.routers.${name}.tls.certresolver" = "letsencrypt";
|
||||||
})
|
})
|
||||||
# traefik service labels
|
# traefik service labels
|
||||||
// (optionalAttrs ((args ? domain) && (args ? port)) {
|
// (optionalAttrs ((args ? domain) && (args ? port)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue