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

蜜罐web后台登录闪一下退出问题 #49

Open
p1r06u3 opened this issue Apr 16, 2020 · 0 comments
Open

蜜罐web后台登录闪一下退出问题 #49

p1r06u3 opened this issue Apr 16, 2020 · 0 comments

Comments

@p1r06u3
Copy link
Owner

p1r06u3 commented Apr 16, 2020

现象:
web后台会通过supervisor启动4个web8000、8001、8002、8003,因为我将jwt改成了随机secret_key,所以这4个进程的随机secret_key都是不同的,导致nginx反代他们的时候,登录生成的token打到后台的某个web进程可能不是用当时登录secret_key生成的那个进程,结果认证失败。

解决:
现代码和部署脚本、部署说明都已经更新。

image
主要改动在supervisor配置文件,把配置文件内容启动的4个web后台进程改为启动1个web后台就可以了。

@p1r06u3 p1r06u3 changed the title 蜜罐web后台登录闪一下推出问题 蜜罐web后台登录闪一下退出问题 Apr 16, 2020
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