Node.js 如何在express gateway中设置proxyTimeout?

Node.js 如何在express gateway中设置proxyTimeout?,node.js,timeout,express-gateway,Node.js,Timeout,Express Gateway,我应该在gateway.config.yml中的什么位置放置proxyTimeout 您可以在管道中为代理设置超时: pipelines: - name: default apiEndpoints: - test policies: - proxy: - action: serviceEndpoint: testService proxyTimeout: 6000 你弄明白了

我应该在gateway.config.yml中的什么位置放置proxyTimeout


您可以在管道中为代理设置超时:

pipelines:
  - name: default
    apiEndpoints:
      - test
    policies:
      - proxy:
          - action:
              serviceEndpoint: testService
              proxyTimeout: 6000

你弄明白了吗?