Date: Wed, 30 May 2012 11:26:09 +0300 From: Henri Reinikainen <henri@reinikainen.in> To: <freebsd-ports-bugs@freebsd.org> Subject: nginx unknown directive "http" Message-ID: <6c816f2afe2c179acf3179aefd538376@rootservers.in>
next in thread | raw e-mail | index | archive | help
Hi, sorry to bother Nginx compiled from FreeBSD ports tree without errors. Tested with my old config (worked before) and nginx.conf-dist default config. When I removed http { } block, it started to complain from mime.types types { } block. OS: FreeBSD 9.0-RELEASE GENERIC amd64 Error: Performing sanity check on nginx configuration: nginx: [emerg] unknown directive "http" in /usr/local/etc/nginx/nginx.conf:17 nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed Version: nginx-1.2.0_1,1 With: HEADERS_MORE_MODULE HTTP_CACHE_MODULE HTTP_MODULE HTTP_REWRITE_MODULE HTTP_SSL_MODULE HTTP_STATUS_MODULE IPV6 WWW - Henri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c816f2afe2c179acf3179aefd538376>