自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (4)
  • 收藏
  • 关注

原创 nginx根据客户端ip动态代理后端服务-TCP

1.安装nginx1.1安装编译环境yum install -y gcc gcc-c++1.2安装依赖库1.2.1 安装openssl, ssl 功能需要 openssl 库 ( 下载: http://www.openssl.org/ )cd /usr/localwget https://www.openssl.org/source/openssl-1.0.1t

2017-04-20 17:29:10 2601

原创 wireshark找到与http请求对应的响应数据

wireshark中每个网络操作都会给一个标记(NO), 而http协议是请求与响应模式的,wireshark会为我们标记请求对应的响应,如下图蓝条请求,点击查看Hypertext Transfer Protocol, 找到 Response in frame ,这里标记的就是这个请求对应的响应NO

2017-04-08 21:37:18 36780

原创 nginx代理 tomcat获得真实用户IP

1.nginx的location中设置 header,如location /ConfigService/{proxy_read_timeout 90;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_f

2017-04-08 21:34:17 2270

转载 https原理:证书传递、验证和数据加密、解密过程解析

http://note.youdao.com/noteshare?id=6425ac0ddfd67abbb8e3fd1e392a87d9&sub=30E44BB652174BFEA96632C896DC0F90

2017-04-08 21:32:27 576

原创 微信接入错误 - redirect_uri参数错误

登陆公众号, 进入设置->公众号设置->功能设置, 添加JS接口安全域名和网页授权域名, 如下

2017-04-08 21:28:51 1272 1

原创 add a response header on nginx when using proxy_pass

https://github.com/openresty/headers-more-nginx-moduleDownload the latest version of the release tarball of this module from headers-more-nginx-module file list../configure \--pref

2017-04-08 21:26:11 682

转载 Nginx WebSocket代理配置

The WebSocket protocol is different from the HTTP protocol, but the WebSocket handshake is compatible with HTTP, using the HTTP Upgrade facility to upgrade the connection from HTTP to WebSocket. Thi

2017-04-08 21:24:42 1718

原创 nginx TPC 动态代理

一、Nginx版本要求Nginx-1.11.2以上,并安装stream_proxy_module和stream_map_module模块1. stream_proxy_module tcp代理需要, The ngx_stream_proxy_module module (1.9.0) allows proxying data streams over TCP, UDP (1.9.13),

2017-04-08 21:24:08 2145

原创 nginx SSL handshake fails on requests from mobile devices with “SSL_BYTES_TO_CIP

Go to theMozilla SSL Configuration Generator and generate a configuration for your server.Modify the file accordingly for your needs.Go to SSL labs and do a server test for your newly created

2017-04-08 21:22:43 841

原创 Nginx下配置Http Basic Auth保护目录

用到模块 ngx_http_auth_basic_modulehttp://nginx.org/en/docs/http/ngx_http_auth_basic_module.htmlDirectivesSyntax:auth_basic string | off;Default:auth_basic off;Context:

2017-04-08 21:20:45 919

转载 nginx 命令

To start nginx, run the executable file. Once nginx is started, it can be controlled by invoking the executable with the -s parameter. Use the following syntax:nginx -s signalWhere signal ma

2017-04-08 21:14:01 227

原创 安装nginx

依赖: 1. gzip 模块需要 zlib 库 ( 下载: http://www.zlib.net/ )2. rewrite 模块需要 pcre 库 ( 下载: http://www.pcre.org/ )3. ssl 功能需要 openssl 库 ( 下载: http://www.openssl.org/ )yum install -y gcc gcc-c++

2017-04-08 21:13:00 248

原创 svn钩子(hooks)

钩子脚本的具体写法就是操作系统中shell脚本程序的写法,请根据自己SVN所在的操作系统和shell程序进行相应的写作所谓钩子就是与一些版本库事件触发的程序,例如新修订版本的创建,或是未版本化属性的修改。每个钩子都会被告知足够多的信息,包括那是什么事件,所操作的对象,和触发事件的用户名。通过钩子的输出或返回状态,钩子程序能让工作继续、停止或是以某种方式挂起。

2017-04-08 21:10:26 939

原创 Xampp + Zend Studio 开启Xdebug调试功能

一步:配置Xdebug环境打开Xampp安装目录的php\php.ini配置文件找到[XDebug]项,开启以下配置;扩展dll引用路径(安装好Xampp后php\ext目录下就已有了php_xdebug.dll)zend_extension = "D:\xampp\php\ext\php_xdebug.dll";创建文件的概要输出目录xdebug.profiler_enabl

2017-04-08 21:08:32 1700

Phoenix Hbase springjdbc整合 demo

Phoenix Hbase springjdbc整合 demo Phoenix最早是saleforce的一个开源项目,后来成为Apache基金的顶级项目。 Phoenix是构建在HBase上的一个SQL层,能让我们用标准的JDBC APIs而不是HBase客户端APIs来创建表,插入数据和对HBase数据进行查询。

2018-10-29

IKAnalyzer3.2.8.jar

IKAnalyzer 3.2.8.jar中文分词器

2015-07-30

flex 仿qq.

flex 仿qq

2012-03-04

flex 仿qq

flex 仿qq 登陆 用户列表 多账号登陆 发消息

2012-03-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除