Gerrard-YNWA commented on a change in pull request #6562:
URL: https://github.com/apache/apisix/pull/6562#discussion_r824469881
##########
File path: apisix/cli/ngx_tpl.lua
##########
@@ -765,6 +765,18 @@ http {
}
{% end %}
+
+ {% if proxy_mirror_timeouts then %}
+ {% if proxy_mirror_timeouts.connect then %}
+ proxy_connect_timeout {* proxy_mirror_timeouts.connect *};
+ {% end %}
+ {% if proxy_mirror_timeouts.read then %}
+ proxy_read_timeout {* proxy_mirror_timeouts.read *};
+ {% end %}
+ {% if proxy_mirror_timeouts.send then %}
+ proxy_send_timeout {* proxy_mirror_timeouts.send *};
+ {% end %}
+ {% end %}
Review comment:
@soulbird No, I think this is a location level configuration and only
works for /proxy_mirror internal request
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]