Nginx 中 proxy_read_timeout 的 Traefik 等价物
Traefik equivalent for proxy_read_timeout in Nginx
我们正在使用 Traefik 2.1.3 作为 Kubernetes Ingress Controller。
替换 Nginx 我们无法模仿该选项:
proxy_read_timeout 60s;
我本来希望 Middleware 完成这项任务,但没有。
有替代方案吗?想法?
Unfortunately there is no mention on this specific feature in Traefik documentations.
最接近的匹配项是我提到的 transport.respondingTimeouts.readTimeout
。
- Github 上有人要求解释:https://github.com/containous/traefik/issues/4580,
它仍然开放,但自 2019 年 3 月以来停滞不前,所以看起来可以完成,但没有地方说如何。
我建议您继续使用 Nginx 或重新考虑您的循环策略以适应您当前的需求,同时等待 Traefik 对此进行更新。
我们正在使用 Traefik 2.1.3 作为 Kubernetes Ingress Controller。
替换 Nginx 我们无法模仿该选项:
proxy_read_timeout 60s;
我本来希望 Middleware 完成这项任务,但没有。
有替代方案吗?想法?
Unfortunately there is no mention on this specific feature in Traefik documentations.
最接近的匹配项是我提到的 transport.respondingTimeouts.readTimeout
。
- Github 上有人要求解释:https://github.com/containous/traefik/issues/4580,
它仍然开放,但自 2019 年 3 月以来停滞不前,所以看起来可以完成,但没有地方说如何。
我建议您继续使用 Nginx 或重新考虑您的循环策略以适应您当前的需求,同时等待 Traefik 对此进行更新。