Install issues

There are typically four sources of errors when attempting to install Nginx or to run it for the first time:

  • Some of the prerequisites are missing or an invalid path to the source was specified. More details about prerequisites can be found in Chapter 1, Downloading and Installing Nginx.
  • After having installed Nginx correctly, you cannot use the SSL-related directives to host a secure website. Have you made sure to include the SSL module correctly during the configure step? More details in Chapter 1, Downloading and Installing Nginx.
  • Nginx refuses to start and outputs a message similar to [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use). This error signifies that another application is utilizing the network port 80. ...

Get Nginx HTTP Server - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.