You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/08/12 12:48:54 UTC

[GitHub] [apisix] spacewander commented on a change in pull request #4814: fix(proxy-cache): keep cache_method same with nginx's proxy_cache_methods

spacewander commented on a change in pull request #4814:
URL: https://github.com/apache/apisix/pull/4814#discussion_r687679347



##########
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:
       @agile6v 
   Could you sync it to APISIX.pm?




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org