diff --git a/.gitignore b/.gitignore index eede4307..de95aae3 100644 --- a/.gitignore +++ b/.gitignore @@ -262,3 +262,4 @@ content/src/Zzz.DbMigrator/Logs/* /aspnet-core/services/src/CompanyName.ProjectName.HttpApi.Host/Logs /aspnet-core/services/src/CompanyName.ProjectName.IdentityServer/appsettings.Production.json /aspnet-core/services/src/CompanyName.ProjectName.HttpApi.Host/appsettings.Production.json +/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/appsettings.Production.json diff --git a/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/Logs/logs.txt b/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/Logs/logs.txt index da33261f..9499c61a 100644 --- a/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/Logs/logs.txt +++ b/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/Logs/logs.txt @@ -305434,3 +305434,12 @@ System.OperationCanceledException: The operation was canceled. 2021-09-11 16:44:55.169 +08:00 [DBG] Transport connection checking... 2021-09-11 16:44:55.169 +08:00 [DBG] Transport connection healthy! 2021-09-11 16:44:55.375 +08:00 [DBG] Server szqh003802a:27684:4bb8e567 heartbeat successfully sent +2021-09-11 16:45:25.176 +08:00 [DBG] Transport connection checking... +2021-09-11 16:45:25.176 +08:00 [DBG] Transport connection healthy! +2021-09-11 16:45:25.383 +08:00 [DBG] Server szqh003802a:27684:4bb8e567 heartbeat successfully sent +2021-09-11 16:45:55.179 +08:00 [DBG] Transport connection checking... +2021-09-11 16:45:55.179 +08:00 [DBG] Transport connection healthy! +2021-09-11 16:45:55.399 +08:00 [DBG] Server szqh003802a:27684:4bb8e567 heartbeat successfully sent +2021-09-11 16:46:25.182 +08:00 [DBG] Transport connection checking... +2021-09-11 16:46:25.182 +08:00 [DBG] Transport connection healthy! +2021-09-11 16:46:25.404 +08:00 [DBG] Server szqh003802a:27684:4bb8e567 heartbeat successfully sent diff --git a/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/appsettings.Production.json b/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/appsettings.Production.json deleted file mode 100644 index 9dd8328f..00000000 --- a/aspnet-core/services/host/CompanyName.ProjectName.HttpApi.Host/appsettings.Production.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "App": { - "CorsOrigins": "https://*.ProjectName.com,http://localhost:4200,http://localhost:3100,http://120.24.194.14:8012" - }, - "ConnectionStrings": { - "Default": "Data Source=120.24.194.14;Database=CompanyNameProjectNameDB;uid=root;pwd=1q2w3E*;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true", - }, - - "Cache": { - "Redis": { - "ConnectionString": "120.24.194.14", - "Password": "1q2w3E*", - "DatabaseId": 1 - } - }, - "AuthServer": { - "Authority": "https://localhost:44354", - "RequireHttpsMetadata": "true", - "SwaggerClientId": "ProjectName_Swagger", - "SwaggerClientSecret": "1q2w3e*" - }, - "StringEncryption": { - "DefaultPassPhrase": "YFLtqf75HkDnKR0n" - }, - "Jwt": { - "Audience": "CompanyNameProjectName", - //客户端标识 - "SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=", - "Issuer": "CompanyNameProjectName", - //签发者 - "ExpirationTime": 24 - //过期时间 hour - }, - "RabbitMq": { - "HostName": "localhost", - "UserName": "admin", - "Password": "admin" - }, - "LogToElasticSearch": { - "Enabled": "true", - "ElasticSearch": { - "Url": "http://es.cn", - "IndexFormat": "CompanyName.ProjectName.HttpApi.dev-{0:yyyy.MM.dd}", - "UserName": "CompanyName.ProjectName", - "Password": "TCYobkZxWu0ELYZY" - } - } -} \ No newline at end of file