简介

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;

}

}

 

 

    

最新文章

  1. winfrom组件圆角
  2. MS SQLSERVER中如何快速获取表的记录总数
  3. 多进程程序设计,王明学learn
  4. python 字符编码练习
  5. SGU 190.Dominoes(二分图匹配)
  6. SSM框架中常用的注解
  7. Luogu P1231 教辅的组成
  8. CTF---安全杂项入门第三题 这是捕获的黑客攻击数据包,Administrator用户的密码在此次攻击中泄露了,你能找到吗?
  9. 【BZOJ2242】【SDOI2011】计算器
  10. 数据库艰难求生之路(基础:增删改查)part2
  11. 使用 OpenSSL 创建私有 CA:2 中间证书
  12. Ehcache
  13. 如何用nodejs创建一个webservice
  14. python迭代器以及生成器
  15. 【阿里巴巴】CBU技术部招聘
  16. 《Bilateral Multi-Perspective Matching for Natural Language Sentences》(句子匹配)
  17. session和cookie的异同
  18. supervisor 添加新配置不生效的问题
  19. Django - 模型层 - 下
  20. Devexpress GridControl无限高度惹得祸

热门文章

  1. 记一次成功部署kolla-ansible ocata版本过程
  2. [Algorithm]线性表
  3. doges
  4. J2SE-鸡汤
  5. Cannot find module 'webpack/bin/config-yargs'
  6. 12306 Pytho抢票代码
  7. ArcGIS api for javascript-图层控制(图层树)
  8. docker上安装eslaticsearch
  9. redis之常用Set和ZSet命令
  10. POJ1113 Wall