我正在尝试使用 Strapi 设置一个节点 WebApp 作为 CMS,两者都运行在 Nginx 上。遵循 strapi 文档后,我可以访问登录页面,但每次 POST 尝试都会返回 500 内部服务器错误。
在 Nginx 访问日志上我得到:
"POST /strapi/admin/forgot-password HTTP/1.1" 500 134 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0"
"POST /strapi/admin/login HTTP/1.1" 500 134 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0"
在 Strapi CLI 输出中,我只看到 GET 请求,看来 Strapi 没有收到 POST 请求:
大家有什么建议吗?
谢谢!