-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathappsettings.Development.json
130 lines (130 loc) · 3.61 KB
/
appsettings.Development.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
{
"DebugConfig": {
"CaptureStartupErrors": true,
"DetailedErrorsKey": true,
"SensitiveDataLogging": true,
"EnableDetailedErrors": true,
"DisplayFullErrorStack": true,
"UseMiniProfiler": true,
"SerilogSelfLog": false
},
"ConnectionStrings": {
"DefaultConnection": "Server=192.168.0.110; Port=3306; Database=codezero_template; Uid=root; Pwd=root; SslMode=Preferred;"
},
"ServiceSettings": {
"DefaultCulture": "en",
"DefaultApiVersion": {
"Major": 1,
"Minor": 0,
"Status": ""
},
"UseInMemoryDatabase": false,
"InitializeDatabase": false,
"UseAuthentication": false,
"UseApiKey": false,
"UseLocalization": true,
"UseHttpsRedirection": true,
"UseRoutingLowercaseUrls": false,
"UseDataProtection": false,
"UseReverseProxy": false,
"UseCors": false,
"UseRedis": false,
"UseMemoryCache": false,
"UseAntiforgery": false,
"UseStackExchangeExceptional": false,
"AddMvcServices": false,
"EnableResponseCompression": false,
"EnableIpRateLimiting": false,
"EnableClientRateLimiting": false,
"EnableSwagger": true,
"EnableSerilog": true,
"EnableSeq": true
},
"HeadersConfig": {
"XFrameOptions": "SAMEORIGIN",
"XContentTypeOptions": "1",
"XssProtection": "nosniff"
},
"CorsSettings": {
"DefaultCorsPolicy": "AllowAny",
"CorsPolicy": [
{
"PolicyName": "AllowAny",
"AllowAnyHeader": true,
"AllowAnyMethod": true,
"AllowAnyOrigin": true
},
{
"PolicyName": "AllowAllFromLocalhost",
"Headers": "*",
"Methods": [ "GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "PATCH" ],
"Origins": [ "https://localhost:4200" ],
"SupportsCredentials": true,
"PreflightMaxAge": "1728000"
}
]
},
"ResponseCompressionConfig": {
"EnableForHttps": false,
"MimeTypes": [
"application/json",
"image/jpeg",
"image/png",
"image/svg+xml",
"multipart/mixed",
"multipart/form-data",
"text/plain",
"text/plain; charset=utf-8",
"text/css",
"text/csv",
"text/html"
]
},
"CacheConfig": {
"DefaultCacheTime": 60,
"ShortTermCacheTime": 3,
"BundledFilesCacheTime": 120
},
"RedisConfig": {
"ConnectionString": "localhost:6379,ssl=False,asyncTimeout=20000",
"IgnoreTimeoutException": false
},
"Exceptional": {
"Store": {
"ApplicationName": "CodeZeroTemplate",
"Type": "Memory",
"ConnectionString": "Server=192.168.0.110; Port=3306; Database=CodeZeroTemplate_exceptional; Uid=root; Pwd=root; SslMode=Preferred;"
}
},
"SwaggerConfig": {
"UiEndpoint": "swagger",
"RouteTemplate": "swagger/{documentName}/swagger.json",
"RoutePrefix": "swagger.json",
"AuthorizationUrl": "http://localhost:8080/auth/realms/master/protocol/openid-connect/",
"Scopes": [],
"DefaultModelsExpandDepth": 1
},
"SwaggerInfo": {
"Title": "CodeZeroTemplate Dev",
"Description": "CodeZeroTemplate Swagger",
"Contact": {
"Name": "Nasr Aldin",
"Email": "[email protected]",
"Url": "https://nasraldin.com"
},
"TermsOfService": "https://gitlab.com/nasraldin/codezero",
"License": {
"Name": "MIT License",
"Url": "https://gitlab.com/nasraldin/codezero"
}
},
"MiniProfilerConfig": {
"RouteBasePath": "/profiler",
"Storage": "MemoryCache",
"ConnectionString": "Server=192.168.0.110; Port=3306; Database=mini_profilers; Uid=root; Pwd=root; SslMode=Preferred;"
},
"SeqOptions": {
"Endpoint": "http://192.168.0.110:5341",
"ApiKey": "none"
}
}