Browse Source

[fix]整理appsetings.json

master
贾荣国 3 years ago
parent
commit
8eeca79b82
  1. 2
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.Development.json
  2. 37
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.json
  3. 2
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.secrets.json
  4. 9
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json
  5. 12
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.Production.json
  6. 2
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.json

2
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.Development.json

@ -0,0 +1,2 @@
{
}

37
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.json

@ -0,0 +1,37 @@
{
"App": {
"SelfUrl": "https://scp.iacchina.net:9988",
"CorsOrigins": "https://scp.iacchina.net:9977,https://scp.iacchina.net:9988,https://localhost:9977,https://localhost:9988",
"RedirectAllowedUrls": "https://scp.iacchina.net:9977,https://scp.iacchina.net:9988"
},
"ConnectionStrings": {
"Default": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;",
"V1Scp": "Server=127.0.0.1;Database=Scp_V1;User ID=sa;Password=Microsoft2008;connection timeout=600;"
},
"AuthServer": {
"Authority": "https://scp.iacchina.net:9988",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "WebApi_Swagger",
"SwaggerClientSecret": "1q2w3e*"
},
"IdentityServer": {
"Clients": {
"WebApi_Web": {
"ClientId": "WebApi_Web",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://scp.iacchina.net:9988"
},
"WebApi_App": {
"ClientId": "WebApi_App",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://scp.iacchina.net:9988"
},
"WebApi_Swagger": {
"ClientId": "WebApi_Swagger",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://scp.iacchina.net:9988"
}
}
},
"AlwaysAllowAuthorization": false
}

2
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.secrets.json

@ -0,0 +1,2 @@
{
}

9
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json

@ -1,8 +1,8 @@
{ {
"App": { "App": {
"SelfUrl": "https://localhost:9988", "SelfUrl": "https://localhost:9988",
"CorsOrigins": "https://scp.iacchina.net:9977,https://localhost:9977,https://localhost:9988,https://scp.iacchina.net:9988", "CorsOrigins": "https://localhost:9977,https://localhost:9988",
"RedirectAllowedUrls": "http://localhost:4200,https://localhost:9988" "RedirectAllowedUrls": "https://localhost:9977,,https://localhost:9988"
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;", "Default": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;",
@ -26,11 +26,6 @@
"ClientSecret": "1q2w3e*", "ClientSecret": "1q2w3e*",
"RootUrl": "https://localhost:9988" "RootUrl": "https://localhost:9988"
}, },
"WebApi_BlazorServerTiered": {
"ClientId": "WebApi_BlazorServerTiered",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://localhost:9988"
},
"WebApi_Swagger": { "WebApi_Swagger": {
"ClientId": "WebApi_Swagger", "ClientId": "WebApi_Swagger",
"ClientSecret": "1q2w3e*", "ClientSecret": "1q2w3e*",

12
WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.Production.json

@ -13,8 +13,10 @@
"BaseUrl": "https://scp.iacchina.net:9988/" "BaseUrl": "https://scp.iacchina.net:9988/"
} }
}, },
"BasicAuthentication": { "AuthServer": {
"Username": "admin", "Authority": "https://scp.iacchina.net:9988",
"Password": "admin" "RequireHttpsMetadata": "false",
} "SwaggerClientId": "WebApi_Swagger",
} "SwaggerClientSecret": "1q2w3e*"
}
}

2
WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.json

@ -10,7 +10,7 @@
"RemoteServices": { "RemoteServices": {
"Default": { "Default": {
"BaseUrl": "https://scp.iacchina.net:9988/" "BaseUrl": "https://localhost:9988/"
} }
}, },
"AuthServer": { "AuthServer": {

Loading…
Cancel
Save