FastTunnel/FastTunnel.Server/appsettings.json
2020-11-01 00:07:31 +08:00

34 lines
791 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Logging": {
"LogLevel": {
// Trace Debug Information Warning Error
"Default": "Trace",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ServerSettings": {
// 必选 默认值
"BindAddr": "0.0.0.0",
// 必选 默认值
"BindPort": 1271,
// 自定义域名web穿透必须
"WebDomain": "test.cc",
// 服务监听的端口号, 访问自定义域名站点时url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/
// web穿透必须
"WebProxyPort": 1270,
// 可选ngixn反向代理后可省略域名后的端口号进行访问
"WebHasNginxProxy": false,
// 可选访问白名单不在白名单的ip拒绝
"WebAllowAccessIps": [],
// 可选是否开启SSH禁用后不处理SSH类型端口转发.默认false。
"SSHEnabled": true
}
}