[问题] ubuntu-14安装elasticsearch设定档问题

楼主: rex60209 (Ghost)   2016-04-29 23:46:02
我安装了elasticsearch和nginx apache2
进入vim /etc/nginx/sites-available/default 打入设定档
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://localhost:5601;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';(这行会是红字)
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
她显示红字让我无法重启
请问要怎么解决
作者: kenduest (小州)   2016-04-30 00:02:00
最后跑 nginx -t 检查设定档案语法有显示错误吗?
作者: CP64 (( ̄▽ ̄#)﹏﹏)   2016-04-30 00:06:00
改成双引号试试?
作者: soem (流水)   2016-04-30 02:52:00
话说,这个应该算是kibana问题喔

Links booklink

Contact Us: admin [ a t ] ucptt.com