开源项目skywalking 前端单独部署,nginx得配置,亲测可用,当时从官网下来,前后端分开部署,
server{
listen 8080;
server_name 10.100.100.10;
location / {
root /app/dist;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location /graphql {
proxy_method POST;
proxy_pass http://100.100.100.01:12800/graphql;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}