FastTunnel/FastTunnel.Server/appsettings.json

19 lines
583 B
JSON
Raw Normal View History

2019-12-16 10:29:06 +08:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ServerSettings": {
2020-04-12 11:26:24 +08:00
"BindAddr": "0.0.0.0", // 可选
"BindPort": 1271, // 可选
2019-12-16 15:22:20 +08:00
2020-04-12 11:26:24 +08:00
"Domain": "test.cc", // 自定义域名web穿透必须
2019-12-16 10:29:06 +08:00
2019-12-16 15:22:20 +08:00
// 服务监听的端口号, 访问自定义域名站点时url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/
2020-04-12 11:26:24 +08:00
"ProxyPort_HTTP": 1270, // web穿透必须
"HasNginxProxy": false // 可选ngixn反向代理后可省略域名后的端口号进行访问
2019-12-16 10:29:06 +08:00
}
}