Nginx1.6.1: Installing from source not running corectly
- by Maca
I just installed Nginx 1.6.1 from source but it didn't seem to installed correctly. Nginx is running if I service nginx status but when I do nginx -v it outputs command not found. Regular HTML page shows fine and there is no error in the error logs. I am on AWS Ec2 linux AMI.
Here is my /etc/init.d/nginx script
#!/bin/sh
#
# nginx - this script…