怎样部署在内网用ip访问? #1419
Answered
by
icyleaf
qinxiandiqi
asked this question in
Q&A
怎样部署在内网用ip访问?
#1419
-
想要部署在公司内网的一台机器上,用ip来访问,没有域名,应该怎么处理https请求和证书的问题呢?.env文件中的域名字段,我填了机器的ip,证书部分我填了个申请Let's Encrypt的邮箱。部署成功后,https访问会报ERR_SSL_PROTOCOL_ERROR错误,http访问就正常,但是页面和功能跳转会报错。我又换成自签名SSL证书,部署后还是一样的结果。 |
Beta Was this translation helpful? Give feedback.
Answered by
icyleaf
Mar 1, 2024
Replies: 1 comment 2 replies
-
看着 #1405 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
仅凭你给的信息我无法判断任何内容。请恕我无能为力。我能给到的帮助是:
Let's Encrypt 仅支持域名生成的证书,建议找公司运维配置一个内网域名,否则会真的很麻烦,强烈建议一字不差的阅读完Docker 部署 Zealot 指南并按照里面的步骤操作,如果选择错误可以删除
docker-compose.yaml
后重新再来。