我安装了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;
}
}
她显示红字让我无法重启
请问要怎么解决