[新手求助]这个跳转为什么不成功?
nginx吧
全部回复
仅看楼主
level 1
ffaabb2012 楼主
发帖老被删除,就分开了贴
想跳转http://localhost/search/ 跳到本机的elasticsearch上
配置文件如下
server {
listen 80;
2014年06月24日 01点06分 1
level 1
ffaabb2012 楼主
在本机测试端口如下
[root@localhost conf]# curl 192.168.0.1:9200
{
"status" : 200,
"name" : "master",
"version" : {
"number" : "1.2.0"
"lucene_version" : "4.8"
},
"tagline" : "You Know, for Search"
}
[root@localhost conf]# curl -I "192.168.0.1:80/search"
HTTP/1.1 404 Not Found
Server: Tengine/1.5.0
Date: Mon, 23 Jun 2014 19:08:55 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 0
Connection: keep-alive
[root@localhost conf]# curl 192.168.0.1/search
No handler found for uri [/search] and method [GET
2014年06月24日 02点06分 3
level 10
手机签到经验+8点,回三个帖经验+12点,整个过程不到5分钟,每天可增加经验18点。理论上来说,你回再多帖子,经验也不会增长了~单纯从捞经验考虑,这是最经济的泡吧方式了……我是来水经验的,顺带混个眼熟
2014年10月08日 13点10分 4
1