使用域名访问权限登录不通过 #2244
qingfengJava
started this conversation in
General
使用域名访问权限登录不通过
#2244
Replies: 1 comment 2 replies
-
django4.0开始新增了origin host检查,请注意参数配置,否则会出现403错误,参考https://docs.djangoproject.com/en/4.0/ref/settings/#csrf-trusted-origins |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
项目使用docker-compose已经部署完成,并且使用IP访问没有问题,但是配置了一个域名,使用nginx去路由,此时登录就受限制。目前不太清楚怎么去解决这个权限问题,麻烦帮助一下。
Beta Was this translation helpful? Give feedback.
All reactions