mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #710] 建议http/https不强制绑定域名 #558
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#558
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 @maxid on GitHub (Apr 17, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/710
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 将会直接关闭。)
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.16.1
What operating system and processor architecture are you using (
go env)?Configures you used:
[app_http]
type = http
local_ip = 127.0.0.1
local_port = 8000
remote_port = 6000
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
需要要设置subdomain
Describe the results you expected:
不设置subdomain,不强制绑定http及https端口
这样可以配合caddy/nginx in docker进行反向代理使用,否则caddy及nginx只能部署在宿主机上,才能识别subdomain
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@maxid commented on GitHub (Apr 17, 2018):
没有问题了,type直接配置 tcp即可
@iineva commented on GitHub (Dec 3, 2018):
还是存在一些应用场景问题,type=tcp,不能获取前端的真实IP地址,还是需要type=http时能提供remote_port选项,希望能重新开启问题
@Luccadoremi commented on GitHub (Feb 23, 2019):
同意楼上 还是存在一些应用场景问题,type=tcp,不能获取前端的真实IP地址,还是需要type=http时能提供remote_port选项,希望能重新开启问题
@fatedier commented on GitHub (Feb 23, 2019):
有太多方案解决你的问题场景,不是有场景就要在应用中全部支持,只会增加不必要的维护难度,每一个项目都有侧重点,组合起来才是最高效的。