This lean package focuses on proxying, caching, and FastCGI, with most other static modules turned off. It’s efficient enough to run platforms like WordPress and supports loading dynamic modules.
# for the nginx-minimal-package
minimal_configure_flags := \
$(basic_configure_flags) \
–with-http_ssl_module \
–with-http_v2_module \
–with-http_v3_module \
–with-http_realip_module \
–with-http_sub_module \
–without-http_browser_module \
–without-http_empty_gif_module \
–without-http_geo_module \
–without-http_grpc_module \
–without-http_memcached_module \
–without-http_mirror_module \
–without-http_referer_module \
–without-http_scgi_module \
–without-http_split_clients_module \
–without-http_ssi_module \
–without-http_userid_module \
–without-http_uwsgi_module \
–build=”the minimal edition from https://deb.myguard.nl/nginx-modules/” \