nginx: invalid option: "-s start"
    helloData 
    nginx-forum at forum.nginx.org
       
    Thu May 31 19:37:38 UTC 2018
    
    
  
Hi,
I am trying nginx for the first time. I installed and tried "sudo nginx -s
start". However, I got error. Here is the detail:
a) I am using Ubuntu on x64 (LinuxMint Sonya). 
b) Configuration file is located at  /etc/nginx
c) There is no nginx.pid initially, but it appears at /var/run when I run
"sudo nginx"
d) After step (c), I ran "sudo nginx -s start" but got this error "nginx:
invalid option: "-s start".
e) However, after the failed attempt (d), I could do "sudo nginx -s stop"
without any error.
Any way to solve the error problem?
Thanks.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280005,280005#msg-280005
    
    
More information about the nginx
mailing list