Closed SheldonSir closed 4 years ago
直接使用https反代http就行了。没必要那么复杂吧。
直接使用https反代http就行了。没必要那么复杂吧。
抱歉, 没get到你的意思 你是想说用 http2https plugin 吗?
直接使用https反代http就行了。没必要那么复杂吧。
抱歉, 没get到你的意思 你是想说用 http2https plugin 吗?
直接用nginx 443 反代 http 80网站
直接使用https反代http就行了。没必要那么复杂吧。
抱歉, 没get到你的意思 你是想说用 http2https plugin 吗?
直接用nginx 443 反代 http 80网站
我原有公网server中用Apache 已经在跑多个站点, so 我就不需要nginx 再做反向代理了. 况且 Apache 也可以做反向代理server
我重新update issue了, 上面的配置我在本地用 phpStudy 搭了一个简易网站, 测试是可以正常访问的
问题frpc 主机环境描述: Ubuntu 16.04.6 LTS Kubenetes cluster in Docker docker pods 对外映射 443 and 31390 port
需要通过frpc 将访问传给 docker 中的 Kubenetes cluster
that's all
OK, 我最后的解决方法是将
SSLCertificateKeyFile /etc/letsencrypt/live/notebook.render.xxx.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/notebook.render.xxx.com/chain.pem
两个证书内容通过base64加密后, 手动拷贝替换了 Kubenetes 内部的web证书(记得备份), 在frps server 端不做Apache 转发
Browser --> Frps --> Frpc --> Kubenetes
以上方法动到了 Kubenetes 内部, 不算是很好的解决方案. 如果大家有好方法, 欢迎follow
你要反代 https 的服务,为什么 type 填的是 http? 直接用 tcp 端口映射不可以吗?
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) (请不要在 issue 评论中出现无意义的 加1,我也是 等内容,将会被直接删除。) (由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)
Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)? 0.31.1
What operating system and processor architecture are you using (
go env
)? server : Centos 7 client : Ubuntu 16.04.6 LTS (Xenial Xerus)Configures you used:
Steps to reproduce the issue:
Describe the results you received: 浏览器显示为:
frps 日志显示:
配置Nginx 也会遇到同样的问题
Describe the results you expected: 我期望的结果应该是正常跳转到我本地 docker 中的 kubenetes cluster 页面(ps: 可以通过 https://192.168.51.64 访问到页面)
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)