我安裝了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;
}
}
她顯示紅字讓我無法重啟
請問要怎麼解決