Конфиг nginx:
user www-data;
worker_processes 1; #По количеству ядер
pid /var/run/nginx.pid;
error_log /sites/nginx/error.log;
events {
worker_connections 4096;
multi_accept on;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
server_tokens off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx-access.log;
error_log /var/log/nginx-error.log;
gzip on;
gzip_disable "msie6″;
gzip_proxied any;
gzip_min_length 500;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Ошибка:
Restarting nginx: nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/nginx.conf:35
nginx: configuration file /etc/nginx/nginx.conf test failed
Что именно в конфиге нужно поправить, чтобы он запустился нормально с настоящей конфигурацией?