-
Notifications
You must be signed in to change notification settings - Fork 557
/
appsettings.json
139 lines (139 loc) · 3.73 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"ConnectionStrings": {
"ClassifiedAds": "Server=127.0.0.1;Database=ClassifiedAds;User Id=sa;Password=sqladmin123!@#;MultipleActiveResultSets=true;Encrypt=False"
},
"Authentication": {
"Provider": "IdentityServer",
"IdentityServer": {
"Authority": "https://localhost:44367",
"Audience": "ClassifiedAds.WebAPI",
"RequireHttpsMetadata": "true"
},
"Jwt": {
"IssuerUri": "https://localhost:44367/",
"Audience": "ClassifiedAds.WebAPI",
"TokenDecryptionCertificate": {
"Thumbprint": null,
"Path": "Certs/classifiedads.identityserver.pfx",
"Password": "password1234"
},
"IssuerSigningCertificate": {
"Thumbprint": null,
"Path": "Certs/classifiedads.identityserver.pub.cer"
}
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
"System": "Warning",
"Microsoft": "Warning"
},
"File": {
"MinimumLogEventLevel": "Information"
},
"EventLog": {
"IsEnabled": false,
"LogName": "Application",
"SourceName": "ClassifiedAds.WebAPI"
},
"OpenTelemetry": {
"IsEnabled": false,
"ServiceName": "ClassifiedAds.WebAPI",
"Otlp": {
"IsEnabled": false,
"Endpoint": "http://localhost:4317"
},
"AzureMonitor": {
"IsEnabled": false,
"ConnectionString": "xxx"
}
}
},
"Caching": {
"InMemory": {
"SizeLimit": null
},
"Distributed": {
"Provider": "InMemory",
"InMemory": {
"SizeLimit": null
},
"Redis": {
"Configuration": "",
"InstanceName": ""
},
"SqlServer": {
"ConnectionString": "",
"SchemaName": "",
"TableName": ""
}
}
},
"Monitoring": {
"MiniProfiler": {
"IsEnabled": true
//"SqlServerStorage": {
// "ConectionString": "Server=127.0.0.1;Database=ClassifiedAds;User Id=sa;Password=sqladmin123!@#;MultipleActiveResultSets=true",
// "ProfilersTable": "MiniProfilers",
// "TimingsTable": "MiniProfilerTimings",
// "ClientTimingsTable": "MiniProfilerClientTimings"
//}
},
"AzureApplicationInsights": {
"IsEnabled": false,
"InstrumentationKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"EnableSqlCommandTextInstrumentation": true
},
"OpenTelemetry": {
"IsEnabled": false,
"ServiceName": "ClassifiedAds.WebAPI",
"Otlp": {
"IsEnabled": false,
"Endpoint": "http://localhost:4317"
},
"AzureMonitor": {
"IsEnabled": false,
"ConnectionString": "xxx"
}
}
},
"AllowedHosts": "*",
"CORS": {
"AllowAnyOrigin": false,
"AllowedOrigins": [ "http://localhost:4200", "http://localhost:3000", "http://localhost:8080", "https://localhost:44331", "https://localhost:44348" ]
},
"Storage": {
"Provider": "Local",
"MasterEncryptionKey": "+2ZC9wrwlvPswPxCND0BjrKJ3CfOpImGtn4hloVwo2I=",
"Local": {
"Path": "C:\\Data\\files"
},
"Azure": {
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=xxx;EndpointSuffix=core.windows.net",
"Container": "classifiedadds"
},
"Amazon": {
"AccessKeyID": "xxx",
"SecretAccessKey": "xxx",
"BucketName": "classifiedadds",
"RegionEndpoint": "ap-southeast-1"
}
},
"SecurityHeaders": {
"Cache-Control": "no-cache, no-store, must-revalidate",
"Pragma": "no-cache",
"Expires": "0"
},
"Interceptors": {
"LoggingInterceptor": true,
"ErrorCatchingInterceptor": true
},
"Certificates": {
"SettingsEncryption": {
"Thumbprint": null,
"Path": "Certs/classifiedads.secretsencryption.pfx",
"Password": "password1234"
}
}
}