Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker 部署下 修改CSRF_TRUSTED_ORIGINS #206

Open
Shaw-W opened this issue Aug 24, 2023 · 2 comments
Open

Docker 部署下 修改CSRF_TRUSTED_ORIGINS #206

Shaw-W opened this issue Aug 24, 2023 · 2 comments

Comments

@Shaw-W
Copy link

Shaw-W commented Aug 24, 2023

  • 我找了下好像没看到相关issue
  • 因为这个会导致请求被middleware拦截

麻烦作者了

@Shaw-W
Copy link
Author

Shaw-W commented Aug 24, 2023

或者说这个配置能配在compose的环境变量里面吗

@Shaw-W Shaw-W changed the title Docker 部署下怎么修改CSRF_TRUSTED_ORIGINS Docker 部署下 修改CSRF_TRUSTED_ORIGINS Aug 24, 2023
@Shaw-W
Copy link
Author

Shaw-W commented Aug 24, 2023

已解决 手动进入docker改 然后杀进程就行了 但是总感觉放环境变量会好一些 仅作为建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant