<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Got it working again, I have no idea what was wrong. I compiled it couple of times and error was still there. After installing and removing older precompiled binary version with pkg_add (did not work because of too new PCRE library). Compiled it again and it started working again. So it was not my config :).</p>
<p>Thanks anyway!</p>
<p>- Henri</p>
<p>On 30.05.2012 10:02, Sergey A. Osokin wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Hi Henri,

could you please provide your configuration file, i.e. nginx.conf?

On Wed, May 30, 2012 at 10:18:15AM +0300, Henri Reinikainen wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">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</blockquote>
</blockquote>
<p> </p>
<div> </div>
</body></html>