SprintBoot部署好网站之后访问没有异常, 但是配置域名地址至Nginx上时登录请求报错了, 经查询是因为项目是前后端分离, 请求的路由会加上工程的主路径, 所以需要在Nginx多配置一个地址, 如
Location / {
http://localhost:8080/project
}
location /project/ {
http://localhost:8080/project/
}
- authentication SprintBoot required resource JavaWebauthentication sprintboot required resource authentication-required authentication-required authentication required authentication required profile managed authentication repositories required refresh authentication authorized analyzing requires authentication required办法noauth 中报authentication required命令 sprintboot sprintboot错误 项目com