02 2018 档案

摘要:当用户没有直接输入 www.csdn.net的时候进行 301 跳转。 引导用户到 www.csdn.net/index.html 首页。 其他动态请求打到tomcat上面。 这样的在nginx上面直接做了301 跳转。 阅读全文
posted @ 2018-02-28 10:31 缤纷世界 阅读(179) 评论(0) 推荐(0) 编辑
摘要:把ssl on这行注释掉,ssl写在443端口后面。这样http和https的链接都可以用 阅读全文
posted @ 2018-02-28 10:29 缤纷世界 阅读(474) 评论(0) 推荐(0) 编辑
摘要:took:执行整个搜索请求耗费了多少毫秒。 /_search在所有的索引中搜索所有的类型/gb/_search在 gb 索引中搜索所有的类型/gb,us/_search在 gb 和 us 索引中搜索所有的文档/g*,u*/_search在任何以 g 或者 u 开头的索引中搜索所有的类型/gb/use 阅读全文
posted @ 2018-02-24 20:03 缤纷世界 阅读(155) 评论(0) 推荐(0) 编辑
摘要:一、下载地址 官网:https://www.elastic.co/cn/downloads/logstash 百度云盘: 二、安装 配置文件(配置文件放哪个目录都可以,在启动Logstash时可以指定配置文件位置) 启动(到bin目录下) ./logstash -f k_es.conf 后台运行 n 阅读全文
posted @ 2018-02-11 14:43 缤纷世界 阅读(510) 评论(0) 推荐(0) 编辑
摘要:一、下载地址: 官方:https://www.elastic.co/cn/downloads/beats/filebeat 百度云盘:https://pan.baidu.com/s/1dvhqb0 二、安装 也可yum安装 下载和安装key文件 创建yum源文件 开始安装 三、配置 注:output 阅读全文
posted @ 2018-02-10 14:19 缤纷世界 阅读(529) 评论(0) 推荐(0) 编辑
摘要:local args = {} args["name"] = "张三" args["sex"] = "男" local captureRes; if ngx.var.request_method == "POST" then captureRes = ngx.location.capture('/dsideal_yy/test', {method = ngx.HTTP_POST, he... 阅读全文
posted @ 2018-02-01 10:02 缤纷世界 阅读(374) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示