mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4834] [Feature Request] 同时支持暴露同一个域名的网站和带端口的API #3817
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#3817
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 @mbj2014 on GitHub (Jun 12, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4834
Describe the feature request
当我内网有个网站,需要使用它自己带端口号的API服务。如http://192.168.1.1:9000的网站,使用http://192.168.1.1:8686/api的WebApi。
暴露到公网上我希望是用http://www.mydomain.com访问,并且WebApi在http://www.mydomain.com:8686/api提供服务。
尝试了用subdomain、locations、custom_domains的配置和组合,都无法实现。
Describe alternatives you've considered
No response
Affected area
@github-actions[bot] commented on GitHub (Jun 27, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
@mbj2014 commented on GitHub (Jun 29, 2025):
有人回应一下么?
@groot-guo commented on GitHub (Jul 13, 2025):
你网站的反向代理配置了,你这看起来跟 frp 没有关系啊,内网的网站跟 frp 有什么关系,反向代理就能使用域名访问。
@github-actions[bot] commented on GitHub (Jul 28, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.