仅在部署期间出现 401 HTTP 错误

时间:2021-01-01 06:00:40

标签: django angular apache amazon-ec2 web-deployment

我使用 Django 和 Angular 创建了一个网站。我使用以下链接中的说明部署了该应用程序:https://medium.com/saarthi-ai/ec2apachedjango-838e3f6014ab

问题 当我在本地运行该应用程序时,它工作正常。 enter image description here

但是,在部署期间我收到 401 错误,我不明白为什么。 enter image description here

部署是在 Amazon AWS EC2 实例中使用 Apache 网络服务器完成的。使用的身份验证是 django-rest-knox

P.S:我还检查了管理面板并添加了用户的令牌。

0 个答案:

没有答案