gpt4 book ai didi

nginx - 在Nginx中等效于proxy_read_timeout的Traefik

转载 作者:行者123 更新时间:2023-12-02 12:13:27 31 4
gpt4 key购买 nike

我们正在使用 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月以来一直处于停滞状态,因此看起来可以完成,但是没有人说如何做。

    建议您在等待Traefik更新之前,还是选择使用Nginx或重新考虑您的循环策略以适应当前的需求。

    关于nginx - 在Nginx中等效于proxy_read_timeout的Traefik,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59882434/

    31 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com