mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1196] 不能同时设置custom_domains和subdomain #937
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#937
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 @wbhinspector on GitHub (Apr 13, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1196
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.26.0
What operating system and processor architecture are you using (
go env)?Configures you used:
服务器端我配置了:
subdomain_host = xxxx.com
客户端我配置了
subdomain= aaa
这样aaa.xxxx.com可以正常访问
但我还有另外一个域名,所以我就在客户端又加了
custom_domains = aaa.yyyy.com
这时候启动客户端,就报错了
报配置冲突 config conflict
我的目的就是两个网址都能同时指向一个服务,我应该如何正确配置?
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@wbhinspector commented on GitHub (Apr 13, 2019):
必须改成这样呀
subdomain= aaa
custom_domains = aaab.yyyy.com
这样才能正常访问,aaa.xxx.com和aaab.yyyy.com都正常了。