1. 反向代理时携带真实IP: location / { proxy_pass http://bsp.bioeh.com; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; pro...
分类:
其他好文 时间:
2015-09-02 13:10:21
阅读次数:
238
一些nginx配置使用独立目录, 然后include具体配置gzip onfor multi processersstatic file cacheproxy pass静态目录 or 文件静态站returnfor mobileredirect to wwwallow and deny负载均衡cent...
分类:
其他好文 时间:
2015-08-31 23:19:17
阅读次数:
208
1、传入参数对象化 public?class?Param?{
String?no;//编号
String?name;//姓名
String?age;//年龄
String?sex;//性别
String?expResu;//期望结果
String?actResu;//实际结果
String?pass;//...
分类:
Web程序 时间:
2015-08-31 17:44:14
阅读次数:
596
1)proxy_pass末尾不带”/”server {
listen 80;
server_name www.baidu.com; location /hello/
{
proxy_pass http://server:8080;
}
}2)proxy_pass末尾带”/”server {
listen 80;
server_...
分类:
其他好文 时间:
2015-08-31 17:27:48
阅读次数:
118
One pass in-place solution: all swaps.class Solution {public: /** * @param nums: a vector of integers * @return: nothing */ void partit...
分类:
其他好文 时间:
2015-08-29 15:20:27
阅读次数:
162
默认情况下Freeswitch自带的G729模块是pass-through-并不支持转码.我们决定添加一个支持G729转码的模块到Freeswitch.参考自 8000HZ。 一、安装支持转码的G729模块1. 下载mod_g729.zip(改自Deepwalker-fs_itu_g729-0bc....
分类:
其他好文 时间:
2015-08-28 19:07:10
阅读次数:
283
环境准备:XenApp/XenDesktop7.6StoreFront3.0Receiver4.3DesktopLock4.2安装与配置:1.运行如下命令,配置信任发送到DC的XMLRequest(XenApp/XenDesktop7.x需要此配置)Set-BrokerSite–TrustRequestsSentToTheXmlServicePort$True2.配置StoreFront使用Pass-Through认证3.用?.
分类:
其他好文 时间:
2015-08-28 02:25:08
阅读次数:
926
6.6 There are 100 closed lockers in a hallway. A man begins by opening all 100 lockers. Next, he closes every second locker. Then, on his third pass, ...
分类:
其他好文 时间:
2015-08-27 12:54:28
阅读次数:
152
PassBook服务Passbook是苹果推出的一个管理登机牌、会员卡、电影票、优惠券等信息的 工具。Passbook就像一个卡包,用于存放你的购物卡、积分卡、电影票、礼品卡等,而这些票据就是一个“Pass”。和物理票据不同的是你可以动态更 新Pass的信息,提醒用户优惠券即将过期;甚至如果你的Pa...
分类:
移动开发 时间:
2015-08-27 12:35:07
阅读次数:
290
1.使用数据库: 连接数据库: $con = mysql_connect($hostname, $user, $pass); 连接成功返回一个连接标识符,否则返回false 选择数据库: mysql_select_db('info'); //返回值为布尔类型 设置数据库字符集: mys...
分类:
数据库 时间:
2015-08-26 17:11:18
阅读次数:
228