Код: Выделить всё
Performing sanity check on nginx configuration:
2009/04/14 18:12:37 [emerg] 19743#0: open() "/usr/local/etc/nginx/logs/nginx.pid" failed (2: No such file or directory)
2009/04/14 18:13:43 [emerg] 19754#0: open() "/usr/local/etc/nginx/logs/error.log" failed (2: No such file or directory)
2009/04/14 18:15:18 [emerg] 19795#0: open() "/usr/local/etc/nginx/logs/access.log" failed (2: No such file or directory)
2009/04/14 18:01:14 [emerg] 19610#0: unknown log format "main" in /usr/local/etc/nginx/nginx.conf:24
2009/04/14 17:49:02 [emerg] 19331#0: unknown log format "main" in /usr/local/etc/nginx/nginx.conf:40
2009/04/14 17:49:53 [emerg] 19333#0: unknown directive "index.html" in /usr/local/etc/nginx/nginx.conf:44
2009/04/14 18:09:20 [emerg] 19683#0: "location" directive is not allowed here in /usr/local/etc/nginx/nginx.conf:81
2009/04/14 18:11:13 [emerg] 19730#0: unexpected "}" in /usr/local/etc/nginx/nginx.conf:122
2009/04/14 18:01:14 [emerg] 19610#0: the configuration file /usr/local/etc/nginx/nginx.conf test failed
После комментирования этих строк всё запускается, но что толку.
Кто-нибудь мог бы подсказать в чём дело?