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环境下,我修改了数据库挂载的端口,除了修改配置文件,有其他方法设置trojan-web的数据库连接方式吗? #31

Open
NickNameIsNull opened this issue Aug 28, 2021 · 5 comments

Comments

@NickNameIsNull
Copy link

RT

@Jrohy
Copy link
Owner

Jrohy commented Aug 29, 2021

直接修改trojan的配置文件,trojan-web是读trojan配置文件里的mysql配置来连的

@NickNameIsNull
Copy link
Author

直接修改trojan的配置文件,trojan-web是读trojan配置文件里的mysql配置来连的

好的,感谢,数据库连接已解决;还有个问题,443端口被nginx占用,有什么办法解决吗?

@Jrohy
Copy link
Owner

Jrohy commented Aug 29, 2021

@NickNameIsNull 可以改trojan端口的,改下配置文件就好

@NickNameIsNull
Copy link
Author

@NickNameIsNull 可以改trojan端口的,改下配置文件就好

是在docker里,修改 /usr/local/etc/trojan/config.json 中的local_port端口吗?

@Jrohy
Copy link
Owner

Jrohy commented Aug 29, 2021

对的

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

2 participants