通过window发布项目 前端已经打包成dist 后端打包成了jar包 nginx配置
location ^~/admin-api/ {
proxy_pass http://127.0.0.1:9601/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
点击登录时报错
Request URL:http://119.29.227.172:9600/admin-api/system/tenant/get-by-website?website=119.29.227.172:9600
Request Method:
GET
Status Code:
500 Internal Server Error
Response:{"code":401,"data":null,"msg":"账号未登录"}
项目:JeeLowCode
可以先看一下部署文档:https://doc.jeelowcode.com/doc/500-3-0