欢迎光临IT网Linux学习频道

当前位置: > Linux服务器 > nginx >
  • [nginx] nginx的upstream目前支持5种分配方式详解 日期:2016-01-18 20:46:35 点击:139 好评:0

    1、轮询(默认) 每个请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。 2、weight 指定轮询几率,weight和访问比率成正比,用于后端服务器性能不均的情况。 例如: upstream bakend { server 192.168.0.14 weight=10; server 1...

  • [nginx] Nginx 全解析 日期:2016-01-18 20:42:57 点击:133 好评:0

    目 录 一、 Nginx 基础知识 二、 Nginx 安装及调试 三、 Nginx Rewrite 四、 Nginx Redirect 五、 Nginx 目录自动加斜线: 六、 Nginx Location 七、 Nginx expires 八、 Nginx 防盗链 九、 Nginx 访问控制 十、 Nginx日志处理 十一、 Nginx Cache 十二、 Ngin...

  • [nginx] ubuntu 安装 nginx 日期:2016-01-07 20:26:18 点击:109 好评:0

    下载Nginx Ubuntu 源码包(从http://wiki.nginx.org/NginxChs上) 编译nginx需要指定pcre,zlib,openssl,既然我的系统没有安装这些包,我也不安装deb的包了,直接运 然后也将nginx-0.6.32的包解压到/opt目录下,进入nginx目录,执行: #./configure --sbin-p...

  • [nginx] nginx中文翻译: location 指令 日期:2016-01-07 20:25:16 点击:62 好评:0

    Nginx location指令 syntax: location [=|~|~*|^~] /uri/ { } 语法:location [=|~|~*|^~] /uri/ { } default: no 默认:否 context: server 上下文:server This directive allows different configurations depending on the URI. It can be configured using...

  • [nginx] nginx 502 bad gateway 日期:2016-01-07 20:24:50 点击:52 好评:0

    我们在使用Nginx的时候有不少问题出现,首先我们就来解决下nginx 502错误的问题 经 过分析将nginx的error log打开,发现pstream sent too big header while reading response header from upstream这样的错误提示,查阅了一下资料,大意是nginx缓冲区有一个bu...

  • [nginx] nginx alias 日期:2016-01-07 20:24:24 点击:87 好评:0

    Nginx alias 跟root的一个区别在于,前者会drop掉location部分的内容,进行替换。而root则是直接把document root修改,然后把location部分append上去。 配置alias,结果返回404,发现他有两个问题,一个是nginx的location匹配顺序没有搞清楚,这个准备再写一...

  • [nginx] nginx 301重定向规则 日期:2016-01-07 20:23:16 点击:59 好评:0

    在网站建设中需要网页重定向的情况很多:如网页目录结构变动,网页重命名、网页的扩展名改变、网站域名改变等。如果不做重定向,用户的收藏和搜索引擎数据库中的旧地址只能让访客得到一个404错误信息页面,访问流量白白丧失。不仅如此,之前该页面的一切积累...

  • [nginx] nginx连接tomcat失效怎么办 日期:2016-01-07 19:15:45 点击:184 好评:0

    Nginx连接Tomcat失效怎么办错误提示如下: 2011-10-12 11:03:00 org.Apache.jk.common.MsgAjp processHeader 严重: BAD packet signature 18245 2011-10-12 11:03:00 org.apache.jk.common.ChannelSocket processConnection 严重: Error, processing connecti...

  • [nginx] nginx lighttpd apache 那个好 有什么区别 日期:2016-01-07 19:15:15 点击:179 好评:0

    一.软件介绍(Apache lighttpd Nginx) 1. lighttpd Lighttpd是一个具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。lighttpd是众多OpenSource轻量级的web server中较为优秀的一个。支持FastCGI, CGI, Auth, 输出压缩(output compress), U...

  • [nginx] nginx python如何配置支持 日期:2016-01-07 19:14:46 点击:125 好评:0

    系统UbuntuWEB服务器:Nginx请问如何配置支持Python3.x 1.安装nginx安装过nginx这就不好从新演示了.默认你也安装好了nginx. 2.安装flup $:dpkg -l *flup* 打印信息: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked...

  • 首页
  • 上一页
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 下一页
  • 末页
  • 2012009
栏目列表
推荐内容