mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3222] https穿透老是报证书错误 请大佬指导 #2585
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2585
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chenmo-tssz on GitHub (Dec 20, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3222
Describe the feature request
我在本地用nginx 搭建了个小博客192.168.1.7能访问
nginx default.conf 配置如下:
frpc.ini 搭建在192.168.1.10上面。
为什么访问 https://frp.***.cn 就直接跳转到192.168.1.7 提示证书错误。证书申请的是免费一年的。
求大神帮忙。
Describe alternatives you've considered
No response
Affected area
@superzjg commented on GitHub (Dec 20, 2022):
这两行删除再试试:
plugin_host_header_rewrite = 192.168.1.7
plugin_header_X-From-Where = frp`
@chenmo-tssz commented on GitHub (Dec 20, 2022):
没用 一样的报错
@superzjg commented on GitHub (Dec 20, 2022):
换个证书试试,比如用OpenSSL生成的自签名证书
@Becods commented on GitHub (Dec 20, 2022):
@AlpacaBi commented on GitHub (Dec 23, 2022):
建议用docker装个nginx-proxy-manager,web ui操作nginx反向代理,还能一键申请证书。
然后反代到frp,frp只走http就好了,https nginx已经有了。
这种操作方式比较简单。
@ax2009live commented on GitHub (Jan 2, 2023):
frpc.ini 搭建在192.168.1.10上面
@github-actions[bot] commented on GitHub (Feb 2, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.