error:
fopen `/var/run/nginx.pid': No such file or directory [ ok ]
reference: http://bugs.alpinelinux.org/issues/559
vi /etc/nginx/nginx.conf
add
pid /var/run/nginx.pid;
between worker process and error log line.
kill previous nginx process
now you can use:
service nginx restart
success!!
alternative ./configure --pid-path=/var/run/nginx.pid
No comments:
Post a Comment