nginx-1.9.11

qbitx nginx-forum at forum.nginx.org
Thu Feb 11 02:30:49 UTC 2016


I'm having issues with 1.9.11.  With the exact same build configuration as I
used for 1.9.10, and the exact same config files for nginx - I am now
getting this when I run nginx -t at the command-line:

nginx: [emerg] unknown directive "charset" in /etc/nginx/nginx.conf:62
nginx: configuration file /etc/nginx/nginx.conf test failed

When I comment out that particular line in the nginx.conf file, I am then
presented with another error:

nginx: [emerg] unknown directive "add_header" in /etc/nginx/ssl.conf:28
nginx: configuration file /etc/nginx/nginx.conf test failed

Not sure why I'm observing this behavior, when the exact same build
configuration for 1.9.10 worked just fine.  It seems like some of the core
modules (e.g.: ngx_http_charset_module, ngx_http_headers_module) are somehow
missing from my build?  Am I missing something?  These are the
module-related flags I provide to "./configure":

--with-pcre-jit \
--with-ipv6 \
--with-file-aio \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_realip_module \
--without-http_map_module \
--without-http_memcached_module \
--without-http_autoindex_module \
--without-http_split_clients_module \
--without-http_upstream_ip_hash_module \
--without-http_upstream_least_conn_module \
--without-http_upstream_keepalive_module \
--without-http_userid_module \
--without-http_empty_gif_module \
--without-http_auth_basic_module \
--without-mail_pop3_module \
--without-mail_smtp_module \
--without-mail_imap_module \
--without-http_uwsgi_module \
--without-http_scgi_module \
--without-http_browser_module \
--add-module=$HOME/naxsi-${NAXSI_VER}/naxsi_src \
--add-module=$HOME/ngx_pagespeed-${PAGESPEED_VER}-beta

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264422,264481#msg-264481



More information about the nginx mailing list