niruntao opened a new issue, #8152:
URL: https://github.com/apache/apisix/issues/8152

   ### Description
   
   I have a piece of nginx code as below:
   
   location ~*\.(jpg|jpeg|gif|png|bmp|svgicon|ico|ttf|eot|woff|woff2|txt)$ {
       expires 30d;
       add_header 'Cache-Control' 'max-age=2592000';
       add_header 'Cache-Control' 'must-revalidate, private';
       add_header  Last-Modified $date_gmt;
       etag on;
       proxy_pass http://test_proxy;
   }
   
   I want to migrate it to apisix, but I can't find any plugins that support 
'expires' and 'etag'. Among them, I implemented add_header with the plugin 
'response-rewrite'.
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.13.1
   - Operating system (run `uname -a`): CentOS Linux release 7.9.2009 (Core)
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx/1.17.3
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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]

Reply via email to