tokers commented on a change in pull request #4814:
URL: https://github.com/apache/apisix/pull/4814#discussion_r688183485
##########
File path: apisix/cli/ngx_tpl.lua
##########
@@ -596,7 +596,7 @@ http {
proxy_cache $upstream_cache_zone;
proxy_cache_valid any {% if
proxy_cache.cache_ttl then %} {* proxy_cache.cache_ttl *} {% else %} 10s {% end
%};
proxy_cache_min_uses 1;
- proxy_cache_methods GET HEAD;
+ proxy_cache_methods GET HEAD POST;
Review comment:
> It doesn't affect the default behavior of APISIX, which means that
user can specify the `POST` method on APISIX.
Here you change the Nginx template, without a configurable setting. This is
a change for default havior.
--
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]