




























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 has 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 are some of the success stories: Dropbox, Netflix, Wordpress.com, FastMail.FM.
参考 http://nginx.org/en/download.html
直接解压到程序目录。
启动
$ ngnix
停止
$ ngnix –s stop
$ ngnix –s quit
参考部分代码:
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;
}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。