frps.ini
[common]
bind_port = 7000
vhost_http_port = 8080
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin
[ssh]
listen_port = 6000
auth_token = PASSWORD
[web]
type = http
custom_domains = a.jinmed.cn
auth_token = PASSWORD
[web2]
type = http
custom_domains = b.jinmed.cn
auth_token = PASSWORD
解释:
bind_port: 就是向外提供的端口, 平时ssh远程登陆采用这个端口
vhost_http_port: 向外提供的http端口
dashboard_*: 面板的配置
然后运行./frps -c ./frps.ini ,我一开只是./frps,就会出现vhost_http_port is not set 的错误
frpc.ini
[common]
server_addr = SERVER_IP_ADDRESS
server_port = 7000
auth_token = PASSWORD
vhost_http_port = 8080
[web01]
type = http
local_
最后
以上就是潇洒小天鹅最近收集整理的关于frps 多个_2018-08-08 frp两个web的配置的全部内容,更多相关frps内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复