When I try to get the status of my nginx the reply is:

service nginx status [FAIL] nginx is not running ... failed!

nginx-t gives me empty answer

Altough if I do this:

/usr/sbin/nginx -t

nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf:63 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful

It looks okay. My question is, how can I send status, start, restart, stop signals to that process?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.