我已经在aggregate(cbind(d, e)~g + b + c, merge(df, agg, by.x = 'a', by.y = 'f'), mean)
# g b c d e
#1 V1 101 101 300 600
#2 V2 101 101 100 200
#3 V3 101 101 500 1000
#4 V1 101 147 200 400
#5 V2 101 147 200 400
中为它定义了静态配置
traefik_v2.yml
现在在我的一个撰写文件中,如何将路由器tls配置配置为静态文件api:
dashboard: true
insecure: true
global: {}
providers:
providersThrottleDuration: 2s
docker:
watch: true
endpoint: unix:///var/run/docker.sock
swarmModeRefreshSeconds: 15s
file:
filename: "traefik_v2.yml"
log:
level: INFO
tls:
certificates:
- certFile: /run/secrets/cert_secret
keyFile: /run/secrets/cert_key_secret
entryPoints:
web:
address: ":80"
redirections:
entrypoint:
to: external
scheme: https
web-secure:
address: ":443"
api:
address: ":8080"
external:
address: ":10443"
中存在的配置?
traefik_v2.yml
答案 0 :(得分:1)
您不必说其他任何事都只需设置traefik.http.routers.authenticationapp.tls=true
。
您还需要使端点在端口443上侦听:
traefik.http.routers.authenticationapp.entrypoints=web, web-secure