nginx: invalid option: "-s start"

helloData nginx-forum at
Thu May 31 19:37:38 UTC 2018


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 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?


Posted at Nginx Forum:,280005,280005#msg-280005

More information about the nginx mailing list