欢迎光临IT网Linux学习频道

当前位置: > Linux服务器 > nginx >
  • [nginx] 3种Nginx防盗链的方法 日期:2016-11-15 15:33:00 点击:127 好评:0

    一:一般的防盗链如下: location ~* \.(gif|jpg|png|swf|flv)$ { valid_referers none blocked www.deepvps.comdeepvps.com ; if ($invalid_referer) { rewrite ^/ http://www.deepvps.com/retrun.html; #return 403; } } 第一行:gif|jpg|png|swf|flv 表示...

  • [nginx] Linux下Nginx+Tomcat整合的安装与配置 日期:2016-11-15 15:23:29 点击:132 好评:0

    一、安装Tomcat和JDK 1、上传apache-tomcat-6.0.18.tar.gz和jdk-6u12-linux-i586.bin至/usr/local 2、执行如下命令安装tomcat: #cd /usr/local #tar zxvf apache-tomcat- 6.0 . 18 .tar.gz 解压完成后将apache-tomcat-6.0.18重命名为tomcat 3、执行如下命令...

  • [nginx] Centos7.2 源码安装Nginx 日期:2016-11-15 11:18:29 点击:136 好评:0

    近期准备使用Nginx,就着手研究一下在CentOS7上来源码安装Nginx。话不多说(主要是怕忘了呵呵)开始正题。 #uname-r 3.10.0-327.el7.x86_64 #./configure--prefix=/usr/local/nginx 安装前还是在网上稍微搜集了一些信息,我的CentOS安装在虚拟机上,安装的时...

  • [nginx] win7系统下安装、配置、测试nginx 日期:2016-10-21 21:33:10 点击:168 好评:0

    1.nginx.org 下载nginx的稳定版zip包。 2.解压至本地目录如D:\nginx(主)。 功能: 1. cd到D:\nginx目录 2. 启动nginx: nginx -c conf\nginx.conf 3. nginx.conf 关键配置文件如下: upstreamwww.wu.com{ serverlocalhost:8090weight=3; serverlocalhost:90...

  • [nginx] nginx的常用命令 日期:2016-10-21 21:32:44 点击:173 好评:0

    Starting,Stopping,andReloadingConfiguration Tostartnginx,runtheexecutablefile.Oncenginxisstarted,itcanbecontrolledbyinvokingtheexecutablewiththe-sparameter.Usethefollowingsyntax: nginx-ssignal Wheresignalmaybeoneofthefollowing: stopfastshu...

  • [nginx] nginx配置文件nginx.conf解读 日期:2016-10-21 21:32:23 点击:154 好评:0

    server { listen 8080; root /data/up1; location / { }} This will be a simple server that listens on the port 8080 (previously, the listen directive has not been specified since the standard port 80 was used) and maps all requests to the /da...

  • [nginx] nginx做负载均衡,怎么在有宕机情况出现时保证网站的响应速度 日期:2016-10-21 21:31:47 点击:107 好评:0

    基础知识: 1. nginx做负载均衡时,默认每台服务器的权重相等。 2. 如果要给某台服务器加权重,则通过下面的方式 upstreamwww.wu.com{ serverlocalhost:8084weight=3; server10.10.105.149:8080weight=1; } 3. 健康监测机制: nginx会根据预先设置的权重转发...

  • [nginx] nginx 代理服务器location的配置规则 日期:2016-10-21 21:31:01 点击:118 好评:0

    1. A regular expression is preceded with the tilde (~) for case-sensitive matching, or the tilde-asterisk (~*) for case-insensitive matching...

  • [nginx] Nginx压力测试工具之WebBench 日期:2016-10-21 21:27:43 点击:182 好评:0

    在Apache中有自带的ab命令可以测试服务的压力,而nginx没有自带的命令,必须要采用第三方软件来测试,今天就简单介绍一下webbench对nginx的压力测试,压力测试是对系统管理员和运维人员必须的,可以很清晰地看清服务器能接受多大压力.注:本人是在虚拟机上做...

  • [nginx] Nginx 教程- 获取真实IP模块 - http_realip_module 日期:2016-10-06 19:25:07 点击:131 好评:0

    有这么一情况,某网站静态文件很多,而且用户访问的来源有网通,有电信,有铁通...设置还有国外。 为了令处于不同网络运营商的用户收取静态文件的速度都有良好的体现,该网站分别在这些不同运营商的积分中部署了Squid,然后统一 Proxy 到主站的 Nginx 上,形...

  • 首页
  • 上一页
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 下一页
  • 末页
  • 2012009
栏目列表
推荐内容