headers-more-nginx-module | clear arbitrary output headers in NGINX http servers | Runtime Evironment library

 by   openresty C Version: v0.34 License: No License

kandi X-RAY | headers-more-nginx-module Summary

kandi X-RAY | headers-more-nginx-module Summary

headers-more-nginx-module is a C library typically used in Server, Runtime Evironment, Nginx applications. headers-more-nginx-module has no bugs, it has no vulnerabilities and it has medium support. You can download it from GitHub.

This module allows you to add, set, or clear any output or input header that you specify. This is an enhanced version of the standard [headers] module because it provides more utilities like resetting or clearing "builtin headers" like Content-Type, Content-Length, and Server. It also allows you to specify an optional HTTP status code criteria using the -s option and an optional content type criteria using the -t option while modifying the output headers with the [more_set_headers] #more_set_headers) and [more_clear_headers] #more_clear_headers) directives. For example,. You can also specify multiple MIME types to filter out in a single -t option. For example,. Never use other paramemters like charset=utf-8 in the -t option values; they will not work as you would expect. Input headers can be modified as well. For example. The option -t is also available in the [more_set_input_headers] #more_set_input_headers) and [more_clear_input_headers] #more_clear_input_headers) directives (for request header filtering) while the -s option is not allowed. Unlike the standard [headers] module, this module’s directives will by default apply to all the status codes, including 4xx and 5xx.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              headers-more-nginx-module has a medium active ecosystem.
              It has 1513 star(s) with 202 fork(s). There are 76 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 37 open issues and 83 have been closed. On average issues are closed in 116 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of headers-more-nginx-module is v0.34

            kandi-Quality Quality

              headers-more-nginx-module has 0 bugs and 0 code smells.

            kandi-Security Security

              headers-more-nginx-module has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              headers-more-nginx-module code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              headers-more-nginx-module does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              headers-more-nginx-module releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of headers-more-nginx-module
            Get all kandi verified functions for this library.

            headers-more-nginx-module Key Features

            No Key Features are available at this moment for headers-more-nginx-module.

            headers-more-nginx-module Examples and Code Snippets

            No Code Snippets are available at this moment for headers-more-nginx-module.

            Community Discussions

            Trending Discussions on headers-more-nginx-module

            QUESTION

            Clearing All Response Headers in NGINX
            Asked 2022-Mar-18 at 09:31

            I understand that I can use one of the following to remove specific headers from the response in NGINX

            ...

            ANSWER

            Answered 2022-Mar-18 at 09:31

            more_clear_headers supports wildcard *

            so this works for all X-Headers: more_clear_headers 'X-*';

            Never tried but I assume that also more_clear_headers '*'; works.

            But you have to build from source for using headers-more-nginx-modul.

            Source https://stackoverflow.com/questions/71522076

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install headers-more-nginx-module

            Grab the nginx source code from [nginx.org](http://nginx.org/), for example, the version 1.17.8 (see [nginx compatibility](#compatibility)), and then build the source with this module:. Download the latest version of the release tarball of this module from [headers-more-nginx-module file list](https://github.com/openresty/headers-more-nginx-module/tags). Starting from NGINX 1.9.11, you can also compile this module as a dynamic module, by using the --add-dynamic-module=PATH option instead of --add-module=PATH on the ./configure command line above. And then you can explicitly load the module in your nginx.conf via the [load_module](http://nginx.org/en/docs/ngx_core_module.html#load_module) directive, for example,. Also, this module is included and enabled by default in the [OpenResty bundle](http://openresty.org).

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

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

          • CLI

            gh repo clone openresty/headers-more-nginx-module

          • sshUrl

            git@github.com:openresty/headers-more-nginx-module.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link