Home  >  Article  >  Operation and Maintenance  >  What is the default port of nginx

What is the default port of nginx

藏色散人
藏色散人Original
2019-06-26 13:31:3625974browse

Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services. Nginx was developed by Igor Sesoev for Russia's second most visited Rambler.ru site (Russian: Рамблер). The first public version 0.1.0 was released on October 4, 2004.

What is the default port of nginx

What is the default port of nginx?

The default port of nginx is 80, but there is no proof. Let’s use facts to prove it. say.

We first use whereis nginx.conf to see which directories contain nginx.conf files. We see that there are 6 directories in total. Here we should go to these six files to look at them. , but since we have found it in advance, it is the /etc/nginx directory, so we go directly to the directory, that is, use cd to switch directories. This file has been marked in the figure below.

Next, let’s check this file, as shown in the figure. Since this file is too big, I just cut off the pictures from the beginning to the end, so you can just take a look at it.

Obviously, in the red area of ​​the second picture, we see that the default port is 80.

For more Nginx related knowledge, please visit the Nginx usage tutorial column!

The above is the detailed content of What is the default port of nginx. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Is nginx free?Next article:Is nginx free?

Related articles

See more