嗨,我正在尝试使用此配置启动nginx。
CTRL+O
但是我收到此错误
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location /graphql/ {
proxy_pass http://localhost:18000/graphql;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
我不确定我缺少什么?