Answer the question
In order to leave comments, you need to log in
How to connect a module to NGINX?
I found this manual: https://github.com/openresty/headers-more-nginx-mo... I can't figure it out, it says:
Download the latest version of the release tarball of this module from headers-more-nginx -module file list.
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 directive, for example,
load_module /path/to/modules/ngx_http_headers_more_filter_module.so;
I still need to compile or just create a modules folder, download the module itself there and simply write load_module /path/to/modules/ngx_http_headers_more_filter_module.so in the configuration file;
Answer the question
In order to leave comments, you need to log in
Depending on what form the module, if src, build and connect. A couple of times I saw already assembled modules, then just connect them in the config.
Specifically, ngx_http_headers_more_filter_module.so on github in src, so you have to build
You have already been answered. Do not brainwash anyone, install the nginx-extras package
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question