lhmwzy
August 20, 2009 03:48AM
I write "access_log off" in the configure file,nginx does not complain
syntax error.
It should "access_log off;",am I right?
Does nginx can not check out this syntax error?

nginx -V
nginx version: nginx/0.8.7
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-log-path=/var/log/nginx-access.log
--add-module=/usr/ports/www/nginx-devel/work/nginx-accesskey-2.0.3
--with-http_addition_module --with-http_realip_module
--add-module=/usr/ports/www/nginx-devel/work/ngx_http_response-0.3
--with-http_secure_link_module --with-http_ssl_module
--with-http_stub_status_module --with-http_sub_module
--add-module=/usr/ports/www/nginx-devel/work/ngx_http_upstream_keepalive-0.1
--with-pcre
Subject Author Posted

nginx configure check fault?

lhmwzy August 20, 2009 03:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 180
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready