angristan / nginx-autoinstall

Compile NGINX from source with custom modules and patches on Debian and Ubuntu
GNU General Public License v3.0
636 stars 237 forks source link

Cache modules #232

Closed tmiland closed 2 years ago

tmiland commented 2 years ago

PS: Removed duplicate SUBFILTER=${SUBFILTER:-n}

Installed with:

HEADLESS=y \
NGINX_VER=MAINLINE \
PAGESPEED=y \
BROTLI=y \
HEADERMOD=y \
FANCYINDEX=y \
CACHEPURGE=y \
SUBFILTER=y \
LUA=n \
WEBDAV=y \
VTS=y \
RTMP=y \
TESTCOOKIE=y \
REDIS2=y \
HTTPREDIS=y \
SRCACHE=y \
SETMISC=y \
NGXECHO=y \
./nginx-autoinstall.sh 2>&1 | tee nginx-installer.log

NOTE: LUA=n Had issues with LUA=y

Confirm with:

 $ nginx -V 2>&1 | grep 'srcache-nginx-module\|redis2-nginx-module\|ngx_http_redis\|set-misc-nginx-module\|echo-nginx-module' -o

redis2-nginx-module
ngx_http_redis
srcache-nginx-module
set-misc-nginx-module
echo-nginx-module

Tested on Debian 10/11.

tmiland commented 2 years ago

Thanks for the fantastic PR! Could you update .github/workflows/docker/wrapper.sh so that the CI can run with the new modules?

My pleaseure! 👍