mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1951] vhost配置cs均生效但是网页无法访问 #1553
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#1553
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 @HinxVietti on GitHub (Aug 21, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1951
有劳百忙中关注下; 尝试各种办法均未解决, 应该也不是理解错误的问题
相关配置:
Server:
Client:
域名服务器解析设置
测试结果:
后台结果
双端控制台都是绿灯;
个人理解:
服务端监听了80(http),然后客户端配置了subdomain 和服务端的subdomain-host组合成代理域名; 然后通过80端口和server的静态ip暴露出来;
多次测试frpClient的本地网站服务可以正常访问的, 尝试忽略frpServer的vhost方案, 改用tcp(80)去代理能够访问网站;
也翻阅frps-all 和 frpc-all, 没能找到合理的解释;
不知道是不是bug , 请告知;
浏览器:www.xxx.net-->服务器:-->DNS-->IP
IP-->FRPS->(frps-vhost-rules?)-->result;
所以配置下的发生的事情大致应该是
但是实际发生了
)
@Becods commented on GitHub (Aug 21, 2020):
请检查后端服务器是否运行正常,是否正确配置vhost
我指的是被frpc所代理的,运行在80端口的程序
@HinxVietti commented on GitHub (Aug 21, 2020):
谢谢, 我检查过阿帕奇了,确认vhost正常运行的, 且本机127.0.0.1 / localhost可以正常访问; 暂时没发现被frpc代理的服务器有什么问题.
@HinxVietti commented on GitHub (Sep 2, 2020):
暂时放弃frp vhost了, 由于log查不出什么原因, 现在直接转发tcp80/443所有内容, 使用内置的Apache处理.