-
Notifications
You must be signed in to change notification settings - Fork 676
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
yml文件的一些问题以及个人暂时的解决方案 #179
Comments
jwt这个具体怎么解决? |
将secret值进行base64编码 |
我把applicatin yml 里的的jwt.secret:aurora进行了base64然后,打包还是提示同样的错误,是需要针对这个jwt.secret单独写一个jwtutil然后用代码定义base6打包么? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在使用时出现了如下一些问题,都是yml文件中相关的
jwt的secretkey需要进行base64编码,否则后端会启动失败
初次启动时mysql连接使用docker容器ip会导致连接失败,改成公网ip后解决
服务器重启后后端启动失败,将yml中的各个容器ip改成公网ip后解决
个人感觉是由于docker容器ip会产生变化导致的连接失败,虽然我以上的方案可以解决问题,但相对的会导致安全性下降,希望有大佬给出更好的方案
The text was updated successfully, but these errors were encountered: