Модуль gunzip действительно включен в Nginx по умолчанию? - PullRequest
0 голосов
/ 31 марта 2020

У меня новый сервер с Debian 9. Для установки Nginx я использовал $ apt update & apt install nginx.

После установки я попытался проверить, какие модули доступны: $ nginx -V

и я вижу, что http_gunzip_module был установлен:

nginx версия: nginx / 1.10.3

построена с OpenSSL 1.1.0k 28 мая 2019

Включена поддержка SNI TLS

настроить аргументы: --with- cc -opt = '- g -O2 -fdebug-prefix-map = / build / nginx -DhOtPd /nginx-1.10.3=. -fstack-protector-strong -Wformat -Werror = format-security -Wdate-time -D_FORTIFY_SOURCE = 2 '--with-ld-opt =' - Wl, -z, relro -Wl, -z, сейчас '--prefix = / usr / share / nginx --conf-path = / etc / nginx / nginx .conf --http-log-path = / var / log / nginx / access.log --error-log-path = / var / log / nginx / error.log --lock-path = / var / lock / nginx .lock --pid-path = / run / nginx .pid --modules-path = / usr / lib / nginx / modules --http-client-body-temp-path = / var / lib / nginx / body --http-fastcgi-temp-path = / var / lib / nginx / fastcgi --http-proxy-temp -path = / var / lib / nginx / proxy --http-scgi-temp-path = / var / lib / nginx / scgi --http-uwsgi-temp-path = / var / lib / nginx / uwsgi --with -debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_d__module --with-http: -with-нитей --with-http_addition_module --with-http_geoip_module = dynamici c - с-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter _module = dynamici c --with-http_sub_module --with-http_xslt_module = dynamici c --with-stream = dynamici c --with-stream_ssl_module --with-mail = Dynami c --with- mail_ssl_module --add-Dynami c -module = / build / nginx -DhOtPd / nginx -1.10.3 / debian / modules / nginx -auth-pam --add-Dynami c -module = / build / nginx -DhOtPd / nginx -1.10.3 / debian / modules / nginx -dav-ext-module --add-dynamici c -module = / build / nginx -DhOtPd /nginx-1.10.3/debian/modules/nginx-echo --add-dynamici c -module = / build / nginx -DhOtPd / nginx -1.10.3 / debian / modules / nginx -upstream-fair --add-Dynami c -module = / build / nginx -DhOtPd / nginx -1.10.3 / debian / modules / ngx_http_substitutions_filter_module

Итак , ngx_http_gunzip_module включен по умолчанию?

Если да, почему здесь и здесь мы видим, что модуль http_gunzip_module не является модулем по умолчанию?

1 Ответ

0 голосов
/ 01 апреля 2020

Да, он включен в вашу сборку. у вас есть флаг --with-http_gunzip_module в выводе проверки версии.

...