traefik tls cli 参数
traefik tls cli parameters
是否有文件参数 certFile 和 keyFile 的 cli 参数 docker:
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "examples/traefik.crt"
keyFile = "examples/traefik.key"
我需要它,因为我不能使用 let's encript 并且我有我想使用的通配符证书 (*.domain.com)。
谢谢。
来自https://community.containo.us/t/traefik-tls-cli-parameters/1564
您好,
您必须使用 CLI 定义入口点:
traefik:
image: traefik:v1.7.14
command:
- "--entryPoints=Name:http Address::80 Redirect.EntryPoint:https"
- "--entryPoints=Name:https Address::443 TLS:/examples/traefik.crt,/examples/traefik.key"
# ...
https://docs.traefik.io/v1.7/configuration/entrypoints/#all-available-options
是否有文件参数 certFile 和 keyFile 的 cli 参数 docker:
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "examples/traefik.crt"
keyFile = "examples/traefik.key"
我需要它,因为我不能使用 let's encript 并且我有我想使用的通配符证书 (*.domain.com)。
谢谢。
来自https://community.containo.us/t/traefik-tls-cli-parameters/1564
您好,
您必须使用 CLI 定义入口点:
traefik:
image: traefik:v1.7.14
command:
- "--entryPoints=Name:http Address::80 Redirect.EntryPoint:https"
- "--entryPoints=Name:https Address::443 TLS:/examples/traefik.crt,/examples/traefik.key"
# ...
https://docs.traefik.io/v1.7/configuration/entrypoints/#all-available-options