write down,forget
adidas eqt support ultra primeknit vintage white coming soon adidas eqt support ultra boost primeknit adidas eqt support ultra pk vintage white available now adidas eqt support ultra primeknit vintage white sz adidas eqt support ultra boost primeknit adidas eqt adv support primeknit adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red adidas eqt support ultra whiteturbo adidas eqt support ultra boost off white more images adidas eqt support ultra boost white tactile green adidas eqt support ultra boost beige adidas eqt support ultra boost beige adidas eqt support refined camo drop adidas eqt support refined camo drop adidas eqt support refined running whitecamo adidas eqt support 93 primeknit og colorway ba7506 adidas eqt running support 93 adidas eqt support 93

使用nginx做elasticsearch的proxy

<Category: Diving Into ElasticSearch> 查看评论

搭建的http://s.medcl.net使用的是nginx来做elasticsearch的proxy反向代理,如何做的呢?
nginx与elasticsearch配置

方式1.

内容:

.conf
http节点里面:

使用vhost创建子站点:search.medcl.com

方式2(推荐,灵活).

拒绝请求

当时想限制下请求的传递的size大小的,貌似没有成功,以下是当时的流式账。。。
添加配置:

试试效果{该链接不存在,不用试了}:
http://search.medcl.net/search?q=hello

本文来自: 使用nginx做elasticsearch的proxy