0
Answered

nginx: [emerg] "worker_processes" directive invalid number in /etc/nginx/nginx.conf:6

Владислав Коробчевский 11 years ago updated by Меля Крупников 10 years ago 7
How can I turn autocorrect option worker_processes?
And then with the "auto" nginks not want to start
writes: nginx: [emerg] "worker_processes" directive invalid number in /etc/nginx/nginx.conf:6 nginx: configuration file /etc/nginx/nginx.conf test failed
And if you manually put 1 or 2 works fine, but after rebooting the server back exhibiting paramenr "auto"
I apologize for my English
Update ajenti-v-* packages and restart Ajenti or just run apt-get upgrade
With this sorted out but now yells at line 4
nginx: [emerg] unknown directive "user" in /etc/nginx.custom.d/nginx.conf:4
Проблема все еще осталась.
Хм..странно, но кнопка "Перезагрузить все сайты" помогла. До этого ни ребут Ajenti ни в целом сервера не помогали.