Cause: To get install nginx configuration information, there is a module which is installed, using nginx -V command prompt If that was wrong.
Solution:
vim /etc/profile
Add the following two sentences at the end of the page:
PATH = $ PATH: / home / nginx / nginxssl / sbin #nginx boot file path
export PATH
Storage
Valid configuration:
source /etc/profile
Re-configure nginx View
nginx -V