If you get following error, when you try to start nginx…
Then it means nginx or some other process is already using port 80.
You can kill it using:
sudo fuser -k 80/tcp
And then try restarting nginx again:
service nginx start
原文:https://www.cnblogs.com/plusUltra/p/12455372.html