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的问题 #414
Comments
按照文档部署, |
重新对比检查了一下docker-compose.xml 文件,跟您发的是一样的。docker-compose.xml 文件没有修改过。唯一修改的地方就是 .env 文件中的 CC_SOCKET_PORT=443 。 |
文档存在问题,先用下面方案:
该命令删除资源。 然后修改 docker-compose.yml 在该文件中,删除这一行,然后重启用 |
可以了,感谢 |
配置 HTTPs 文档中,对 可能的解决方案 此处的 |
看了一下,很多问题都是这个客服及管理员的聊天,一直在走8036的问题,到底应该怎么修改才能不加上这个小端口呢? |
我是应该注释掉CC_SOCKET_PORT,还是改为我是应该注释掉CC_SOCKET_OS_PORT?都试了感觉一直在瞎试 |
终于搞明白了:
|
前提
以上两个前提参考文章:春松客服配置 CDN和HTTPS | 春松客服 然后,进行如下操作。 暂停服务
设置环境变量 CS_IM_SERVER_SSL_PORT然后修改 docker-compose.yml,在该文件中,删除第 36 行,然后重启用 Line 36 in e04ace6
即删除环境变量:
其它8035, 8036这两个端口的介绍参考 https://docs.cskefu.com/docs/deploy |
1,按照配置文档修改nginx/conf.d/default.conf
2.修改 .env 设置 CC_SOCKET_PORT=443
3.执行 docker-compose restart 之后访问网站443端口,发现无法访问
4. 执行命令docker ps 未发现nginx
5. 执行命令docker-compose up -d nginx
出现错误:
ERROR: for cskefu_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint cskefu_nginx_1 (0ae9f3a2c2c3b9693603a27ab39d47b9b1092cf80826ccf534e40c70974cc787): Bind for 0.0.0.0:443 failed: port is already allocated
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint cskefu_nginx_1 (0ae9f3a2c2c3b9693603a27ab39d47b9b1092cf80826ccf534e40c70974cc787): Bind for 0.0.0.0:443 failed: port is already allocated
docker ps 之后发现端口被 cskefu_contact-center_1 占用。
2f6b6f8850e3 chatopera/contact-center:develop "./docker-entrypoint…" 9 minutes ago Up 9 minutes 8030-8034/tcp, 8037-8050/tcp, 0.0.0.0:8035->8035/tcp, 0.0.0.0:443->8036/tcp cskefu_contact-center_1
The text was updated successfully, but these errors were encountered: