how to view loaded modules in nginx
static modules:
dynamic modules:
how to install dynamic module in nginx?
#1 download nginx
#2 download dynamic module
#2.1 install build tools if not already
#3 compile dynamic module
#4. verify the module & copy to nginx directory
#5 upgrade nginx if not done early
#6 edit nginx.conf
enable & disable dynamic module in nginx
nginx modules location
Install nginx without unnecessary modules
Nginx http core module
Module ngx_http_core_module
Keepalive
client body, head buffers
etag, if modified since etc
more at here
nginx fastcgi module
fastcgi read timeout to fix 504 timeout nginx
buffers etc.
nginx proxy module
proxy modules and fastcgi directives and variables are same. starts fastcgi_ instead proxy_
proxy module used to backend serer ex use nginx as reverse proxy and load balancer for apache wordpress
all 3 aboe modules necessary to run a nginx server and installed by default with nginx.
best modules for nginx third party
how to enable brotli compression in nginx
$ apt-get install nginx-plus-module-brotli
edit nginx.conf
at top:
load_module modules/ngx_http_brotli_filter_module.so;
load_module modules/ngx_http_brotli_static_module.so;
configurations in .conf
same as gzip just replacewith brotil.
read more here
Nginx modules which are installed by default