nginx - tengine proxy_upstream_tries
伊谢尔伦
伊谢尔伦 2017-05-16 17:18:53
0
1
551

I have a few questions about the proxy_upstream_tries command in tengine:

  1. What is the relationship between proxy_upstream_tries and nginx's proxy_next_upstream? Can it work together?

  2. Under what circumstances will proxy_upstream_tries fail over? 502? 503? 504?

  3. Are there any conflicts between the two instructions?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
伊谢尔伦
  1. proxy_upstream_tries limits the number of retries, while proxy_next_upstream specifies the conditions for retries. Can work together.

  2. "What situation" is determined by the proxy_next_upstream command

  3. No

Reference documentation:

  • proxy_next_upstream

  • proxy_upstream_tries

proxy_upstream_tries implementation:

  • first commit: https://github.com/alibaba/tengine/pull/322

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!