[GH-ISSUE #139] 能否像ngrok那样,由服务端挂载证书? #84

Closed
opened 2026-05-05 11:43:26 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @cnluzhang on GitHub (Oct 19, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/139

这样能解决一部分强制需要https,但是本地挂载证书又不方便的问题...

谢谢啦。

Originally created by @cnluzhang on GitHub (Oct 19, 2016). Original GitHub issue: https://github.com/fatedier/frp/issues/139 这样能解决一部分强制需要https,但是本地挂载证书又不方便的问题... 谢谢啦。
Author
Owner

@cnluzhang commented on GitHub (Oct 19, 2016):

我目前是又启动了一个nginx专门listen 443,由nginx处理证书,然后把请求和HOST转发到80端口上

<!-- gh-comment-id:254758735 --> @cnluzhang commented on GitHub (Oct 19, 2016): 我目前是又启动了一个nginx专门listen 443,由nginx处理证书,然后把请求和HOST转发到80端口上
Author
Owner

@fatedier commented on GitHub (Oct 19, 2016):

这个就涉及到安全性的问题了,不过也是可以考虑的,目前你的方法就挺好的。

<!-- gh-comment-id:254762710 --> @fatedier commented on GitHub (Oct 19, 2016): 这个就涉及到安全性的问题了,不过也是可以考虑的,目前你的方法就挺好的。
Author
Owner

@cnluzhang commented on GitHub (Oct 19, 2016):

但是这样会引入一个问题,就是frp服务端拿到的IP不是真实IP,我不知道目前frp服务端能接收Forwarded-For或者Real-IP这种头么?
如果今后frp增加统计功能,那么这个IP可能是需要的...

<!-- gh-comment-id:254763489 --> @cnluzhang commented on GitHub (Oct 19, 2016): 但是这样会引入一个问题,就是frp服务端拿到的IP不是真实IP,我不知道目前frp服务端能接收Forwarded-For或者Real-IP这种头么? 如果今后frp增加统计功能,那么这个IP可能是需要的...
Author
Owner

@fatedier commented on GitHub (Oct 19, 2016):

#127 ,之后可以考虑。

<!-- gh-comment-id:254763883 --> @fatedier commented on GitHub (Oct 19, 2016): #127 ,之后可以考虑。
Author
Owner

@stlsw commented on GitHub (Mar 1, 2018):

@cnluzhang 请问能否分享一下你 NGINX 的配置信息,谢谢!!

<!-- gh-comment-id:369473394 --> @stlsw commented on GitHub (Mar 1, 2018): @cnluzhang 请问能否分享一下你 NGINX 的配置信息,谢谢!!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#84
No description provided.