Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2759051
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

发布时间:2015-12-01 15:47:03

测试环境为:Nginx+2台tomcat负载均衡地址信息如下:Nginx:  10.33.96.251Tomcat1:10.33.97.246Tomcat2:10.33.97.247 搭建如下:1:分别在246和247机器上搭建tomcat先安装jdk,我使用的版本为jdk-7u79-linux-x64.tar.gz到/home/目录下解压即可tar zx.........【阅读全文】

阅读(2079) | 评论(0) | 转发(0)

发布时间:2014-09-26 15:41:21

转之:http://www.zhukun.net/archives/4566因为nginx不支持.htaccess,所以在防盗链上比较麻烦。上网搜了一下,代码很容易搜到,甚至lnmp一键安装包的作者Licess都给出了这样一段防盗链代码,但是还是有很多人叫着方法无效,这是为什么呢?Licess给出的代码如下:l.........【阅读全文】

阅读(1043) | 评论(0) | 转发(0)

发布时间:2014-08-29 15:43:43

Nginx is a lightweight, high performance web server/reverse proxy and e-mail (IMAP/POP3) proxy. It runs on UNIX, GNU/Linux, BSD variants, Mac OS X, Solaris, and Microsoft Windows. According to Netcraft, 6% of all domains on the Internet use nginx webserver. Nginx is one of a handful of servers .........【阅读全文】

阅读(2358) | 评论(0) | 转发(0)

发布时间:2014-06-20 16:40:46

转自:http://blog.sina.com.cn/s/blog_5d73ba76010145rr.html首先看一个完整代码示例,关于nginx 301 302跳转的。301跳转设置:server {listen 80;server_name 123.com;rewrite ^/(.*) http://456.com/$1 permanent;access_log off;}302跳转设置:server {listen 80;server_name 123.com;.........【阅读全文】

阅读(1168) | 评论(0) | 转发(1)

发布时间:2014-05-10 11:02:25

Name-based virtual serversnginx first decides which server should process the request. Let’s start with a simple configuration where all three virtual servers listen on port *:80:server { listen 80; server_name example.org www.example.org; ...}server { .........【阅读全文】

阅读(1023) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2010-04-10 18:37

呵呵,文章中露点了!

回复 |  删除 |  举报

chinaunix网友2009-11-05 22:00

写的非常好,收益匪浅,加油啊,caoshouwen!

回复 |  删除 |  举报

chinaunix网友2008-12-02 15:50

强嘎~!

回复 |  删除 |  举报

yexin2182008-11-26 23:38

不错啊,加油哦

回复  |  举报
留言热议
请登录后留言。

登录 注册