码迷,mamicode.com
首页 >  
搜索关键字:location proxy_pass 反向代理    ( 11929个结果
nginx反向代理配置及优化
nginx反向代理配置及优化前言: 由于服务器apache抗不住目前的并发.加上前端squid配置后,问题依然无法解决.而页面程序大部分是动态.无法使用fastcgi来处理.因此想使用nginx做为反向代理apache.整个配置安装过程很简单.第1部分:安装1 建立用户及组/usr/sbin/gro...
分类:其他好文   时间:2014-08-14 20:27:19    阅读次数:203
IIS实现反向代理
新建两个站点,端口分别使用 80 和 81,在DNS中新建A记录,指向该计算机(10.4.34.41)配置过程如下:1.在Windows Server 2012 R2上 安装ARR,URL Rewriter组件。 ARR3.0需要如下组件支持:WebFarmFramework 2.2(该组件又需要W...
分类:其他好文   时间:2014-08-14 13:17:08    阅读次数:442
nginx 反向代理、缓存
lvs+keepalive+nginx(realserver)两台+tomcat(后端服务器),nginx的配置文件nginx.conf如下usernobodynobody; worker_processes12; error_log/var/log/nginx/error.logcrit;(取消记录错误日志) #error_log/var/log/nginx/debug.logdebug_http; #error_loglogs/error.log; #..
分类:其他好文   时间:2014-08-14 04:06:18    阅读次数:495
编译安装LAMP-------动静分离
编译安装LAMP-------动静分离动静分离能有效提升站点访问效率,此时apache工作在反向代理模式。Php不在作为apache的模块。而是以独立服务器的方式运行。两者之间通过fcgi机制建立通讯。本文将以安装discuz方式说明其工作特性。下图为其工作流程的简单描述:首先apache监听主进..
分类:其他好文   时间:2014-08-14 03:53:48    阅读次数:485
Spring 接收转换 jquery ajax json数组字符串
1、ajax发送json字符串 组建对象 var student = new Object(); student.name = "柯乐义"; student.age = "25"; student.location = "广州"; var student2 = new Object(); student2.name = "柯范德萨"; student2.age = "45"; stude...
分类:编程语言   时间:2014-08-14 01:38:57    阅读次数:318
nginx location
1. “= ”,字面精确匹配, 如果匹配,则跳出匹配过程。(不再进行正则匹配)2. “^~ ”,最大前缀匹配,如果匹配,则跳出匹配过程。(不再进行正则匹配)3. 不带任何前缀:最大前缀匹配,举例如下: location / 代表以"/"开头的搜索匹配, 再没有正则表达式匹配的情况下才进行这个匹配(....
分类:其他好文   时间:2014-08-13 21:34:07    阅读次数:235
poj 3278 Catch That Cow (bfs搜索)
Catch That Cow Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 46715   Accepted: 14673 Description Farmer John has been informed of the location of a fugitiv...
分类:其他好文   时间:2014-08-13 19:00:57    阅读次数:230
委托参数的逆变性
读了深入理解C#书中的 5.3.1 委托参数的逆变性,记录一下。先看一段代码:public Form1(){ InitializeComponent(); Button button1 = new Button {Text = "Click me 1", Location = new P...
分类:其他好文   时间:2014-08-13 18:27:36    阅读次数:174
HDU 1078 FatMouse and Cheese(记忆化)
Problem Description FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q < n. At e...
分类:其他好文   时间:2014-08-13 14:56:46    阅读次数:236
HDU - 4941 Magical Forest
Problem Description There is a forest can be seen as N * M grid. In this forest, there is some magical fruits, These fruits can provide a lot of energy, Each fruit has its location(Xi, Yi) and the en...
分类:其他好文   时间:2014-08-13 10:36:35    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!