nginx-autoinstall
nginx-autoinstall copied to clipboard
support add nginx modules
Author, please add the ability to install these modules, they are very necessary for work https://github.com/masterzen/nginx-upload-progress-module https://github.com/nginx-clojure/nginx-access-plus https://github.com/C0nw0nk/Nginx-Lua-Anti-DDoS https://github.com/gabihodoroaga/nginx-ntlm-module https://github.com/vislee/ngx_http_waf_module https://github.com/nbs-system/naxsi https://github.com/GetPageSpeed/ngx_security_headers
Hi, do you know if all these modules are still working as of today? Many modules have broken over time due to lack of support.
On that list, there are two or three which sound promising and still seem to be maintained, while others haven't seen a commit in the past 4 years or more...
Have a look here 9b69458 (#237)
- Custom/dynamic modules can be loaded in
NGINX_MODULES=- See NGINX 3rd Party Modules
- Example: Download to /usr/local/src/nginx-custom-modules
- Load the module with
--add-module=/usr/local/src/nginx-custom-modules/module-nameinNGINX_MODULES=like so:
NGINX_MODULES="--add-module=/usr/local/src/nginx-custom-modules/module-name" \
Starting from NGINX 1.9.11, you can also compile modules as a dynamic module:
NGINX_MODULES="--add-dynamic-module=/usr/local/src/nginx-custom-modules/module-name" \
Then you can explicitly load the module in your nginx.conf via the load_module directive, for example,
load_module /usr/local/src/nginx-custom-modules/module-name_module.so;