header modify

最後更新: 2021-03-18

介紹

nginx 源碼沒有包含該模塊, 需要另行添加.

Code: https://github.com/openresty/headers-more-nginx-module

 


Feature

  • more_set_headers
  • more_clear_headers

 

Usage Example

more_clear_headers 'Server';

more_clear_headers 'X-Powered-By';