Brief introduction
Nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally Written by Igor Sysoev. For a long time, it had been running on many heavily loaded Russian sites including Yandex, Mail.ru, VK, and Rambler. According to Netcraft, Nginx served or proxied 23.76% busiest sites in March 2018. Here is some of the success Stories:dropbox, Netflix, WordPress.com, Fastmail.fm.
?
Download
Reference http://nginx.org/en/download.html
?
Installation
Unzip directly to the program directory.
?
Command
???? Start
???? $ Ngnix
???? Stop it
???? $ ngnix–s Stop
???? $ ngnix–s Quit
?
Configuration
Reference section Code:
server {
Listen 8000;
server_name localhost;
?
Location/{
Root c:/web/aaa;
Index index.html index.htm;
}
}
?
server {
Listen 8001;
server_name localhost;
?
Location/{
Root c:/web/bbb;
Index index.html index.htm;
}
}
?
?
????
Nginx to build a static Web service under Windows