Доброго времени суток. При попытке reaload конфига nginx, вылетают ошибки.
/etc/nginx/nginx.conf reload
/etc/nginx/nginx.conf: line 2: user: command not found
/etc/nginx/nginx.conf: line 3: worker_processes: command not found
/etc/nginx/nginx.conf: line 12: events: command not found
/etc/nginx/nginx.conf: line 13: worker_connections: command not found
/etc/nginx/nginx.conf: line 14: syntax error near unexpected token `}'
/etc/nginx/nginx.conf: line 14: `}'
#ругается соответственно на эти строчки
user www-data;
worker_processes 4;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 4096;
}