配置文件升级+修改(重要更新!)

This commit is contained in:
2025-06-09 09:22:59 +08:00
parent a548d8f3f2
commit d111c8c2c0
27 changed files with 1880 additions and 1 deletions

21
U8Server/appsettings.json Normal file
View File

@@ -0,0 +1,21 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"NacosConfig": {
"Listeners": [
{
"Optional": false,
"DataId": "U8ServerConfig",
"Group": "DEFAULT_GROUP"
}
],
// 服务注册必填参数
"ServerAddresses": [ "http://127.0.0.1:8848" ], // Nacos 服务器地址
"Namespace": ""// 命名空间(默认 public
},
"AllowedHosts": "*"
}