码迷,mamicode.com
首页 >  
搜索关键字:proxy minion    ( 5820个结果
nginx同域名代理tomcat不同目录下的文件
使用nginx的rewrite实现代理指定目录笔记server{ listen80; server_namea.com; #charsetkoi8-r; #access_loglogs/host.access.logmain; location/{ #roothtml; #indexindex.htmlindex.htm; rewrite^/.(.*)$/sos/$1last; } location~*^/sos/.*${ proxy_passhttp://127.0.0.1:..
分类:其他好文   时间:2015-12-14 19:20:08    阅读次数:172
apxs动态安装扩展模块
apxs作用:用于不想重新./configureapache的情况下,进行动态(附加)安装。参数-c编译-i安装-a自动修改httpd.cnf文件,添加LoadModule功能行。如:我要添加proxy模块到apache里:$cd/root/httpd-2.2.24/modules/proxy#返回apache安装包目录内$ln-s/usr/local/apache/bin/apxs/..
分类:其他好文   时间:2015-12-14 19:13:50    阅读次数:103
Spring AOP的底层实现技术---JDK动态代理
JDK动态代理在JDK 1.3以后提供了动态代理的技术,允许开发者在运行期创建接口的代理实例。在Sun刚推出动态代理时,还很难想象它有多大的实际用途,现在我们终于发现动态代理是实现AOP的绝好底层技术。 JDK的动态代理主要涉及到java.lang.reflect包中的两个类:Proxy和Invoc...
分类:编程语言   时间:2015-12-13 00:35:35    阅读次数:262
Zabbix-proxy搭建
Zabbix-proxy搭建创建用户chattr-i/etc/shadow/etc/passwd/etc/gshadow/etc/group/etc/shadow-/etc/passwd-/etc/gshadow-/etc/group-useraddzabbixusermod-Gmysqlzabbixchattr+i/etc/shadow/etc/passwd/etc/gshadow/etc/group/etc/shadow-/etc/passwd-/etc/gshadow-/etc/group-..
分类:其他好文   时间:2015-12-11 13:21:26    阅读次数:283
Chapter 4: Spring and AOP:Spring's AOP Framework
Spring's AOP FrameworkLet's begin by looking at Spring's own AOP framework — a proxy-based framework that works in pure Java. You can use it in any ap...
分类:编程语言   时间:2015-12-11 11:26:38    阅读次数:256
nginx 502错误 upstream sent too big header while reading response header from upstream
原本的设置是proxy_buffer_size 4k;proxy_buffers 4 32k;proxy_busy_buffers_size 64k;在这种配置下,使用fiddler进行抓包分析,发现只要请求的header的尺寸大于4378字节的时候就报502,当header在4377及以下的时候就...
分类:其他好文   时间:2015-12-10 23:27:09    阅读次数:148
squid2.7安装与配置
1 简介      代理服务器英文全称是Proxy Server,其功能就是代理网络用户去取得网络信息。      Squid是一个缓存Internet 数据的软件,其接收用户的下载申请,并自动处理所下载的数据。当一个用户想要下载一个主页时,可以向Squid 发出一个申请,要Squid 代替其进行下载,然后Squid 连接所申请网站并请求该主页,接着把该主页传给用户同时保留一个备份,当别的用户...
分类:其他好文   时间:2015-12-09 01:57:06    阅读次数:212
WCF Proxy Authentication Required(407)
WCF Proxy Authentication Required(407)The ProblemWhen I’m in the office, I have to use an authenticated proxy to get outside our intranet and to the i...
分类:其他好文   时间:2015-12-08 18:28:13    阅读次数:110
关于nginx做负载均衡时backend server取real ip
首先:做为loadblance的nginx要添加下面的配置:proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add...
分类:其他好文   时间:2015-12-08 17:59:45    阅读次数:178
apache2.4.16 显示真实ip
修改nginx的配置文件编辑/usr/local/nginx/conf/nginx.conf加入以下文本1 proxy_set_headerHost$host;2 proxy_set_headerX-Real-IP$remote_addr;3 proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;保存配置文件,重启nginx让apache2.4.16日志记录正确的访客IP在Log..
分类:Web程序   时间:2015-12-07 18:49:15    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!