Reputation: 392
I am using nginx server for my rails application. If i start nginx in my server the following error is comming.
$ sudo service nginx start
Starting nginx (via systemctl): Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
[FAILED]
How can i solve this issue?
Upvotes: 1
Views: 226
Reputation: 46
Hey so related to the first comment: if you use sudo nginx -t
it will give the line and error that is making the nginx.conf file fail to load.
Upvotes: 1