Nginx系列~概念与windows下环境搭建

时间:2022-11-01 15:00:06

概述

Nginx ("engine x") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器。 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的,第一个公开版本0.1.0发布于2004年10月4日。其将源代码以类BSD许可证的形式发布,因它的稳定性、丰富的功能集、示例配置文件和低系统资源的消耗而闻名。2011年6月1日,nginx 1.0.4发布。

简介

Nginx(发音同 engine x)是一款轻量级的Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器,并在一个BSD-like 协议下发行。由俄罗斯的程序设计师Igor Sysoev所开发,供俄国大型的入口网站及搜索引擎Rambler(俄文:Рамблер)使用。其特点是占有内存少,并发能力强,事实上nginx的并发能力确实在同类型的网页服务器中表现较好,*使用nginx网站用户有:新浪、网易、 腾讯等。

优势

Nginx 可以在大多数 Unix like OS 上编译运行,并有 Windows 移植版。 Nginx 的1.4.0稳定版已经于2013年4月24日发布,一般情况下,对于新建站点,建议使用最新稳定版作为生产版本,已有站点的升级急迫性不高。Nginx 的源代码使用 2-clause BSD-like license。
Nginx 是一个很强大的高性能Web和反向代理服务器,它具有很多非常优越的特性:
在高连接并发的情况下,Nginx是Apache服务器不错的替代品:Nginx在美国是做虚拟主机生意的老板们经常选择的软件平台之一。能够支持高达 50,000 个并发连接数的响应,感谢Nginx为我们选择了 epoll and kqueue作为开发模型。

HTTP基础功能

处理静态文件,索引文件以及自动索引;
反向代理加速(无缓存),简单的负载均衡和容错;
FastCGI,简单的负载均衡和容错;
模块化的结构。过滤器包括gzipping,byte ranges,chunked responses,以及 SSI-filter。在SSI过滤器中,到同一个 proxy 或者 FastCGI 的多个子请求并发处理;
SSL 和 TLS SNI 支持;
IMAP/POP3代理服务功能:
使用外部 HTTP 认证服务器重定向用户到 IMAP/POP3 后端;
使用外部 HTTP 认证服务器认证用户后连接重定向到内部的 SMTP 后

在windows环境的搭建

版本下载地址http://nginx.org/en/download.html

下载后压缩,运行命令

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAScAAAAuCAIAAADlQEhqAAACVElEQVR4nO3cW3KjMBCFYZbmpXlpLG0epialQerWkQTHxPzfEyZNowsnqSQub+/3+/V6bf/s+14e1+qyvHJF8y7lgXhVfXITZtqciNg8qhSvEgczOh5RVBz1iW6dj79bWV8yNN/6Fs2az8hTdyj+yNCbq5+f755ZGcwpzZUHZa7JKZOdm2aekPLM9CCn1//WqQNwOVIHuJE6wI3UAW6kDnAjdYAbqQPcSB3gRuoAN1IHuJE6wI3UAW6kDnAjdYAbqQPcSB3gRuoAN1IHuJE6wI3UAW5l6qIPZjK4+qb6Z9rkn1Gl9//IMtp89+wu95O6ch2VNT130S/dxaHwlJXihVHZ6KTOWgFDHkjdkr+py5+25nf9X7HuEz+yhlLX7T9962m/Yl+erpm6g+jBiqKYpHSvPka2WR/1GU3FUNn0hcrqHV7m89Xrt3gxlcEnxcotun3yl8+lpC6RLKtyPNqnfBk9Ct29n5vaSmUy5okmzZ758io9nfv1dIup28Z3bnEXt+o5GxrhFZfkxcnUlCb7/+rzm7C8ytjus1/fb/r3ulJ3+z+7i6NbfmJ99KVoUklZvkfKYPLi++zX91P+hqms2l7Imyzu4s9LfSPzB7Q7mMX66IwyL6U+uqmyPt3+4pRH5/V0J/6/7nCt+CzulW35ycubRwPutq3rk/7dJtF9k0EeDvRxRpK1jSbSnHLUR1yTx/G8N0XZXdwH+3Ut2zvC8m/PuBv260K8DxNwI3WAG6kD3Egd4EbqADdSB7iROsCN1AFupA5wI3WAG6kD3Egd4EbqALM/s8w5W8kNd/EAAAAASUVORK5CYII=" alt="" />

查看是否运行成功(注意需要先关闭其它占用80端口的进程)

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnAAAAByCAIAAABcJnvWAAAKuElEQVR4nO3dS3bkNgyFYS2tl9ZL07CHGWRBGeR0HZokwAsK1Kv+b6SiKL4h2Enb3v7958+///z5/fv3r1+/Ng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9bopwrq85EfHWbGo6HuMDH/Xe8PZ/igK1gqRqpmg2FcHj17p9Q/btWv8D/hidweIqG59/vsRuc6+JLmRG+x7N2PzRaMS78ePdbDq8efw8V72adNPHjNnWuuo8oZ/XItTIj4uLbPGvHregbHvJNjhFlQeZDhr+HinfrHob20LaF1jkP9au0M4wRMS6cKUyMH0/nnOd78kOmW1NpYTPifTiM8qM6B/4eKgDghp6Xbvh7qAAAJOAXOwAAkICECgBAAhIqAAAJSKgAACQgoQIAkICECgBAAhIqAAAJSKgAACQgoQIAkICECgDAcf8BA3wX2JnzRqQAAAAASUVORK5CYII=" alt="" />

好了,现在我们测试了,输入localhost,即可以看到nginx的页面

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmQAAAEFCAIAAADCM2yJAAAgAElEQVR4nO2daVgUV972+/nyjF+SSSbJvDNOZp6ZJJPENkZHUaMmmrjHBRVpXBBR3BFBVFxA7XZfURFjxkRURCK2K7jEJdHEaOISF7RFlH13A0EWFZd+P1R11TlVp5ZmkQbv33VfXlJ9tjp1+tz9P7UZ/tC4b9Dc75Q02cxpO6dgUpbth3+6+r+vN3/1A/9XP5z46ocT/yioycQ/Ngl4rUnAa00C/shrEi/jpD8aJ71mnPSaMfC1ppwmvc7po0BOf+IVJKoZp8l/ajb5jWaT3/iY15tSBXP6pN/S141+7fovfat5sKA/twj+c4spf24xpUnLLKf0l5bTeLWa9pdW0/7aKoSXW8hf3UIaC2od0rh1yN9ah/yt9XSp2sz4W5sZb3NqO+PttjPfbjvz75w+4fWPT2b+o52o/2s3i1L7UFL/7BD6zw5hnP71KaV3RM1+5zNaHee8S6rT3Pc6ze3ms/bvbQO6+ax9r9Pcf3cy8/qcl7N99WGX+by60urGq0m3+U26LRBk7LbA2H2hoKbdFzbtsbBpj0VMfdRT0OKPvlzcjNDHXy4R1WtJ815LRfUm1Gdp8z5LW/Baxuk/nPou59SSk/vylu4rePXjNcA/qkmX6QP8o1r1W9Gq3wo3Tv15/aO35X/8Eg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gOryWQlnYu170pVS+tyIq9WjUS2OonoAQA1BMzSZZHZDr2BPfdS1sZKbDUZjGabynk2ulzSmKgMCh9oeaXecpRbpJLDsUVh3yVtYzbVybwaNYpJ4ZQA1HNglq6KzM+UJ2T6iiAtr5QtLtKQARfnrHbWKUe+AokJME9NSrySWY5YFbNBrCqEvZb4ksK+S+2KfRbVybyqNRJFYvEVgPoOzNJFUQzBJB9Tp8H0xJWOU2uKl9swIjd5XMT2OI1oV70cpRapVUEZptNeqdZUXXn1eKXK8jIAoP4As3RNdHql3Do0vVJ2to9dtZUMvBSvynVqZVh3OUrZFargt6k7l6QGZ7xSMa+2V/JHRGX3AAD1A5ilS6LhlUK0RWzmIhiFE2y0V9pVbw50RGsSexD+tpmN5DUr9HWp6gakVI6KmbCrsJmNUidnOhe97/SytZZXaubVqFFyVRX90wPeCUA9A2bpisi8UnKCTZyfxZsZjCYTcZ0rK7FNGiwq2CVrMidPi7JvpjCZdQRr7HLUAy9WFfJiiHOoChfxsLpKto9O5FWtkWugsF1m+fBKAOoZMEtA8xJct1mdXXwJugcAwABmCUgaqBdYTfSZXWd2sTp5AQANBZglEFC97qc+Q91b46TZVScvAKDBALMEAAAANIBZAgAAABrALAEAAAANYJYAAACABjBLAAAAQAOYJQAAAKABzBIAAADQAGYJAAAAaACzBAAAADSAWQIAAAAawCwBAAAADWCWAAAAgAYwSwAAAEADmCUAAACgAcwSAAAA0ABmCQAAAGgAswQAAAA0gFkCAAAAGsAsAQAAAA1glgAAAIAGMEsAAABAg/8PAXJgXkEqX8kAAAAASUVORK5CYII=" alt="" />

下面我的自己的网站加一个nginx服务,我们需要修改/conf/nginx.conf配置文件,内容如下

#定义Nginx运行的用户和用户组
user www www; #nginx进程数,建议设置为等于CPU总核心数。
worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ]
error_log ar/loginx/error.log info; #进程文件
pid ar/runinx.pid; #一个nginx进程打开的最多文件描述符数目,理论值应该是最多打开文件数(系统的值ulimit -n)与nginx进程数相除,但是nginx分配请求并不均匀,所以建议与ulimit -n的值保持一致。
worker_rlimit_nofile 65535; #工作模式与连接数上限
events
{
#参考事件模型,use [ kqueue | rtsig | epoll | /dev/poll | select | poll ]; epoll模型是Linux 2.6以上版本内核中的高性能网络I/O模型,如果跑在FreeBSD上面,就用kqueue模型。
use epoll;
#单个进程最大连接数(最大连接数=连接数*进程数)
worker_connections 65535;
} #设定http服务器
http
{
include mime.types; #文件扩展名与文件类型映射表
default_type application/octet-stream; #默认文件类型
#charset utf-8; #默认编码
server_names_hash_bucket_size 128; #服务器名字的hash表大小
client_header_buffer_size 32k; #上传文件大小限制
large_client_header_buffers 4 64k; #设定请求缓
client_max_body_size 8m; #设定请求缓
sendfile on; #开启高效文件传输模式,sendfile指令指定nginx是否调用sendfile函数来输出文件,对于普通应用设为 on,如果用来进行下载等应用磁盘IO重负载应用,可设置为off,以平衡磁盘与网络I/O处理速度,降低系统的负载。注意:如果图片显示不正常把这个改成off。
autoindex on; #开启目录列表访问,合适下载服务器,默认关闭。
tcp_nopush on; #防止网络阻塞
tcp_nodelay on; #防止网络阻塞
keepalive_timeout 120; #长连接超时时间,单位是秒 #FastCGI相关参数是为了改善网站的性能:减少资源占用,提高访问速度。下面参数看字面意思都能理解。
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 64k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 128k; #gzip模块设置
gzip on; #开启gzip压缩输出
gzip_min_length 1k; #最小压缩文件大小
gzip_buffers 4 16k; #压缩缓冲区
gzip_http_version 1.0; #压缩版本(默认1.1,前端如果是squid2.5请使用1.0)
gzip_comp_level 2; #压缩等级
gzip_types text/plain application/x-javascript text/css application/xml;
#压缩类型,默认就已经包含textml,所以下面就不用再写了,写上去也不会有问题,但是会有一个warn。
gzip_vary on;
#limit_zone crawler $binary_remote_addr 10m; #开启限制IP连接数的时候需要使用 upstream blog.ha97.com {
#upstream的负载均衡,weight是权重,可以根据机器配置定义权重。weigth参数表示权值,权值越高被分配到的几率越大。
server 192.168.80.121:80 weight=3;
server 192.168.80.122:80 weight=2;
server 192.168.80.123:80 weight=3;
} #虚拟主机的配置
server
{
#监听端口
listen 80;
#域名可以有多个,用空格隔开
server_name www.ha97.com ha97.com;
index index.html index.htm index.php;
root /data/www/ha97;
location ~ .*.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
#图片缓存时间设置
location ~ .*.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 10d;
}
#JS和CSS缓存时间设置
location ~ .*.(js|css)?$
{
expires 1h;
}
#日志格式设定
log_format access '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';
#定义本虚拟主机的访问日志
access_log ar/loginx/ha97access.log access; #对 "/" 启用反向代理
location / {
proxy_pass http://127.0.0.1:88;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
#后端的Web服务器可以通过X-Forwarded-For获取用户真实IP
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#以下是一些反向代理的配置,可选。
proxy_set_header Host $host;
client_max_body_size 10m; #允许客户端请求的最大单文件字节数
client_body_buffer_size 128k; #缓冲区代理缓冲用户端请求的最大字节数,
proxy_connect_timeout 90; #nginx跟后端服务器连接超时时间(代理连接超时)
proxy_send_timeout 90; #后端服务器数据回传时间(代理发送超时)
proxy_read_timeout 90; #连接成功后,后端服务器响应时间(代理接收超时)
proxy_buffer_size 4k; #设置代理服务器(nginx)保存用户头信息的缓冲区大小
proxy_buffers 4 32k; #proxy_buffers缓冲区,网页平均在32k以下的设置
proxy_busy_buffers_size 64k; #高负荷下缓冲大小(proxy_buffers*2)
proxy_temp_file_write_size 64k;
#设定缓存文件夹大小,大于这个值,将从upstream服务器传
} #设定查看Nginx状态的地址
location /NginxStatus {
stub_status on;
access_log on;
auth_basic "NginxStatus";
auth_basic_user_file confpasswd;
#htpasswd文件的内容可以用apache提供的htpasswd工具来产生。
} #本地动静分离反向代理配置
#所有jsp的页面均交由tomcat或resin处理
location ~ .(jsp|jspx|do)?$ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8080;
}
#所有静态文件由nginx直接读取不经过tomcat或resin
location ~ .*.(htm|html|gif|jpg|jpeg|png|bmp|swf|ioc|rar|zip|txt|flv|mid|doc|ppt|pdf|xls|mp3|wma)$
{ expires 15d; }
location ~ .*.(js|css)?$
{ expires 1h; }
}
}

上面内容中出现的反射代理,可以阅读这篇文章

Nginx系列~概念与windows下环境搭建的更多相关文章

  1. Redis的简单介绍及在Windows下环境搭建

    简单介绍 1,Redis是什么 最直接的还是看官方的定义吧. Redis is an open source (BSD licensed), in-memory data structure stor ...

  2. 数据科学家Docker历险记(1):windows下环境搭建

    原文:http://www.xueqing.tv/cms/article/247 Docker是最近炒得很火热的一门技术,在网上可以找到关于它的介绍文章,比如<Docker到底是什么?为什么它这 ...

  3. redis cluster以及master-slave在windows下环境搭建

    一.redis cluster环境搭建: 1.了解Redis Cluster原理: 详细了解可参考:http://doc.redisfans.com/topic/cluster-tutorial.ht ...

  4. Android Studio JNI&sol;NDK 编程(二) Windows 下环境搭建 demo 开发

    环境 windows 8  (注:其实 Linux 开发可能更方便) Android Studio 2.1; 一 . 下载 安装android-ndk开发包 地址:链接:http://pan.baid ...

  5. Egret入门&lpar;二&rpar;--windows下环境搭建

    准备材料 安装Node.js TypeScript编辑器 HTTP服务器(可选) Chorme(可选) Egret 安装Node.js 打开www.nodejs.org 下载安装(全部next,全默认 ...

  6. pixhawk原生固件在Windows下环境搭建笔记

    首先参考了以下几篇博客 博客1:https://zhuanlan.zhihu.com/p/25198079 博客2:http://blog.csdn.net/oqqenvy12/article/det ...

  7. Google Web Toolkit&lpar;GWT&rpar; 在windows下环境搭建

    1.什么是GWT? Google Web Toolkit(简称GWT,读作/ˈɡwɪt/),是一个前端使用JavaScript,后端使用Java的AJAX framework,以Apache许可证2. ...

  8. Elasticsearch、Kibana Windows下环境搭建

    Elasticsearch 簡介 ElasticSearch是一个基于Lucene的搜索服务器.它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口.Elasticsearch是 ...

  9. Windows下快速搭建安卓开发环境android-studio

    Windows下快速搭建安卓开发环境android-studio 发布时间:2018-01-18 来源:网络 上传者:用户 关键字: 安卓 搭建 Android Windows 快速 环境 Studi ...

随机推荐

  1. Python 获得对象内存占用内存大小 sys&period;getsizeof

    from sys import getsizeof class A(object): pass class B: pass for x in (None, 1, 1L, 1.2, 'c', [], ( ...

  2. xtrabackup&lowbar;binlog&lowbar;pos&lowbar;innodb 和 xtrabackup&lowbar;binlog&lowbar;info

    用过 xtrabackup 工具的 innobackupex 脚本备份数据的人可能会注意到,–apply-log 处理过的备份数据里有两个文件说明该备份数据对应的 binlog 的文件名和位置.但有时 ...

  3. oracle如何获取每个月的最后一天

    SELECT LAST_DAY(DATE'2016-09-23') FROM DUAL;

  4. Sql Server 删除所有表

    如果由于外键约束删除table失败,则先删除所有约束: --/第1步**********删除所有表的外键约束*************************/ DECLARE c1 cursor f ...

  5. cocos2d 3&period;0自定义事件答疑解惑

    疑惑一:在事件分发中修改订阅者 ,对于这个的理解. 事件的分发是可以嵌套的,cocos2dx使用_inDispatch来保存当前嵌套的深度,当调用第一个dispatchEvent的时候,_inDisp ...

  6. leetcode Binary Tree Inorder Traversal python

    # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = ...

  7. 微信公众号PHP简单开发流程

    原文:微信公众号PHP简单开发流程 微信公众号开发分傻瓜模式和开发者模式两种,前者不要考虑调用某些接口,只要根据后台提示傻瓜式操作即可,适用于非专业开发人员. 开发模式当然就是懂程序开发的人员使用的. ...

  8. 在CentOS7上使用systemctl配置tomcat

    最近买了一台阿里云,现在阿里云CentOS都已经支持7了(前面都是使用CentOS6),索性直接使用CentOS7,7上面目前最大区别就是service变成了现在的systemctl,简单的查了一下并 ...

  9. 【Java学习笔记之二十七】Java8中传多个参数时的方法

    java中传参数时,在类型后面跟"..."的使用:        public static void main(String[] args){       testStringA ...

  10. Mac下charles安装及配置

    一.下载地址 https://www.charlesproxy.com/download/ 激活码 Registered Name: https://zhile.io License Key: 488 ...