Fix the static configuration generation for environment variables
This commit is contained in:
parent
bf4a578bbb
commit
3c5e6fe7f8
2 changed files with 8 additions and 3 deletions
|
@ -135,10 +135,10 @@ Default certificate resolver for the routers linked to the entry point.
|
||||||
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_DOMAINS`:
|
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_DOMAINS`:
|
||||||
Default TLS domains for the routers linked to the entry point.
|
Default TLS domains for the routers linked to the entry point.
|
||||||
|
|
||||||
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_DOMAINS[n]_MAIN`:
|
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_DOMAINS_n_MAIN`:
|
||||||
Default subject name.
|
Default subject name.
|
||||||
|
|
||||||
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_DOMAINS[n]_SANS`:
|
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_DOMAINS_n_SANS`:
|
||||||
Subject alternative names.
|
Subject alternative names.
|
||||||
|
|
||||||
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_OPTIONS`:
|
`TRAEFIK_ENTRYPOINTS_<NAME>_HTTP_TLS_OPTIONS`:
|
||||||
|
|
|
@ -64,7 +64,12 @@ THIS FILE MUST NOT BE EDITED BY HAND
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
w.writeln("`" + prefix + strings.ReplaceAll(flat.Name, "[0]", "[n]") + "`: ")
|
if prefix == "" {
|
||||||
|
w.writeln("`" + prefix + strings.ReplaceAll(flat.Name, "[0]", "_n") + "`: ")
|
||||||
|
} else {
|
||||||
|
w.writeln("`" + prefix + strings.ReplaceAll(flat.Name, "[0]", "[n]") + "`: ")
|
||||||
|
}
|
||||||
|
|
||||||
if flat.Default == "" {
|
if flat.Default == "" {
|
||||||
w.writeln(flat.Description)
|
w.writeln(flat.Description)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue