NGINX Documentation

Headers-More

Set and clear input and output headers, extending the NGINX core Headers module.

Installation Instructions

  1. Install the Headers-More module.

    For Amazon Linux, CentOS, Oracle Linux, and RHEL:

    $ yum install nginx-plus-module-headers-more
    

    For Debian and Ubuntu:

    $ apt-get install nginx-plus-module-headers-more
    

    For SLES:

    $ zypper install nginx-plus-module-headers-more
    
  2. Put the load_module directive in the top‑level (“main”) context of NGINX Plus configuration file, nginx.conf:

    load_module modules/ngx_http_headers_more_filter_module.so;
    
  3. Perform additional configuration as required by the module.

  4. Reload NGINX Plus to enable the module:

    $ nginx -t && nginx -s reload
    

More Info