mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4128] 关于“proxy [proxies]: subdomain and custom domains should not be both empty”的问题 #3256
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#3256
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 @RongxuanLai on GitHub (Apr 4, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4128
Bug Description
问题描述
在配置外网访问内网本地web服务时,出现“proxy [proxies]: subdomain and custom domains should not be both empty”的报错。请问这个是什么原因?怎么解决?
frpc Version
0.56.0
frps Version
0.56.0
System Architecture
ubuntu 18.04 / amd64
Configurations
服务端配置
frps.toml服务端运行情况
客户端配置
frpc.toml客户端运行情况(报错)
Logs
none
Steps to reproduce
...
Affected area
@xqzr commented on GitHub (Apr 6, 2024):
[common]@hixuanyu commented on GitHub (Jul 12, 2024):
查到了兄弟,http代理的话要添加域名,客户端的配置文件中加入:
custom_domains = 云服务器公网IP
后面的可以是域名也可以是随便打的字,但必须要有这句不然会报错
customDomains = ["xxx.xxx.xxx.xxx"] 这一句是错的去了