[問題] ubuntu-14安裝elasticsearch設定檔問題
我安裝了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;
}
}
她顯示紅字讓我無法重啟
請問要怎麼解決
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.161.249.172
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1461944765.A.1D3.html
推
04/30 00:02, , 1F
04/30 00:02, 1F
→
04/30 00:06, , 2F
04/30 00:06, 2F
→
04/30 02:52, , 3F
04/30 02:52, 3F