FS#61191 - module support not compiled with nginx
Attached to Project:
Community Packages
Opened by ipp (n8V8r) - Thursday, 27 December 2018, 17:38 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 01 January 2019, 16:46 GMT
Opened by ipp (n8V8r) - Thursday, 27 December 2018, 17:38 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 01 January 2019, 16:46 GMT
|
Details
Description: unknown directive "brotli" in
/etc/nginx/nginx.conf
Additional info: * package version(s) 1:0.1.2-4 * config and/or log files etc. Steps to reproduce: 1 pacman -S nginx-mod-brotli 2 add 'brotli on' directive to /etc/nginx/nginx.conf 3 nginx -t from the cli produces -> unknown directive "brotli" in /etc/nginx/nginx.conf 4 Check presence of modules in /usr/lib/nginx/modules/ -> yes, present 5 nginx -V nginx version: nginx/1.14.2 built with OpenSSL 1.1.1a 20 Nov 2018 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/bin/ngin x --pid-path=/run/nginx.pid --lock-path=/run/lock/nginx.lock --user=http --group=http --http-log-pat h=/var/log/nginx/access.log --error-log-path=stderr --http-client-body-temp-path=/var/lib/nginx/clie nt-body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-cc-opt= '-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -fPIC - D_FORTIFY_SOURCE=2' --with-ld-opt=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now --with-compat -- with-debug --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_d av_module --with-http_degradation_module --with-http_flv_module --with-http_geoip_module --with-http _gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_realip_module --wit h-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_mo dule --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-pcre-jit --with-stream --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_module --wit h-stream_ssl_preread_module --with-threads |
This task depends upon
load_module /usr/lib/nginx/modules/ngx_http_brotli_filter_module.so;
load_module /usr/lib/nginx/modules/ngx_http_brotli_static_module.so;
After that the error is gone. Having installed the package it was sort of expected to be loaded automatically without further user intervention.