Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

二级域名配置失败 #220

Closed
natugrey opened this issue Jan 10, 2017 · 7 comments
Closed

二级域名配置失败 #220

natugrey opened this issue Jan 10, 2017 · 7 comments
Labels

Comments

@natugrey
Copy link

natugrey commented Jan 10, 2017

client端启动返回错误

Parse conf error: proxy [web] custom_domains must be set when type equals http

我的frps.ini

[common]
bind_addr = x.x.x.x
bind_port = 4443
dashboard_port = 6443
vhost_http_port = 80
vhost_https_port = 443
log_file = ./frps.log
log_level = debug
log_max_days = 3
privilege_mode = true
privilege_token = 123
max_pool_count = 50
subdomain_host = xxxx.com

[ssh]
listen_port = 6666
auth_token = 123

我的frpc.ini

[common]
server_addr = x.x.x.x
server_port = 4443
log_file = ./frpc.log
log_level = debug
log_max_days = 3
auth_token = 123
privilege_token = 123

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
use_encryption = true
use_gzip = false
pool_count = 10

[web]
privilege_mode =true
type = http
local_ip = 127.0.0.1
local_port = 80
subdomain = test
@natugrey
Copy link
Author

按照readme上面来的,哪儿出问题了,求助

@natugrey natugrey reopened this Jan 10, 2017
@natugrey
Copy link
Author

客户端frpc.ini修改

[web]
privilege_mode =true
type = tcp
local_ip = 127.0.0.1
local_port = 80
remote_port = 80
subdomain = test

@fatedier
Copy link
Owner

非特权模式创建有点问题,不是很紧急,之后修复。

@fatedier fatedier reopened this Jan 10, 2017
@fatedier fatedier added the bug label Jan 10, 2017
@natugrey
Copy link
Author

如果不使用二级域名有办法一个frps对应多个frpc上的web应用吗

@ererermao
Copy link

@fatedier vhost_http_port只能设置一个,怎么对应多个frpc上的web应用呢?

@ererermao
Copy link

@fatedier 已经用特权模式实现了,打扰了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants