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

不方便配置https #65

Open
panxiaoguang opened this issue Nov 21, 2024 · 1 comment
Open

不方便配置https #65

panxiaoguang opened this issue Nov 21, 2024 · 1 comment

Comments

@panxiaoguang
Copy link

我觉得是不是可以不要在docker compose 里加入nginx 服务器,只是暴露出后端api 即可。然后我们在宿主机上直接安装 Caddy 服务器将api 和前端自动反向代理到https。

@ProudMuBai
Copy link
Owner

这个也可以,只要把前端使用的api接口地址改成具体的ip+端口就可以把nginx独立出去, 但为了部署方便我项目目前选择的还是使用的compose一键部署这几个服务的, 这几个服务要想单独部署都是可以的

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