-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
appsettings.json
311 lines (311 loc) · 14.9 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
//"AllowedHosts": "example.com;localhost", // A semicolon-delimited list of host names without port numbers. Set it for public-facing edge servers or when the Host header is directly forwarded.
"OrchardCore": {
// See https://docs.orchardcore.net/en/latest/reference/modules/Admin/#custom-admin-prefix
//"OrchardCore_Admin": {
// "AdminUrlPrefix": "Admin"
// },
// See https://docs.orchardcore.net/en/latest/reference/modules/ContentLocalization/#configuration to configure content localization.
//"OrchardCore_ContentLocalization_CulturePickerOptions": {
// "CookieLifeTime": 14 // Set the culture picker cookie life time (in days).
//},
// See https://docs.orchardcore.net/en/latest/reference/core/Data/#sqlite.
//"OrchardCore_Data_Sqlite": {
// "UseConnectionPooling": false
//},
// See https://docs.orchardcore.net/en/latest/reference/core/Data/#database-table to configure database table presets used before a given tenant is setup.
//"OrchardCore_Data_TableOptions": {
// "DefaultDocumentTable": "Document", // Document table name, defaults to 'Document'.
// "DefaultTableNameSeparator": "_", // Table name separator, one or multiple '_', "NULL" means no separator, defaults to '_'.
// "DefaultIdentityColumnSize": "Int64" // Identity column size, 'Int32' or 'Int64', defaults to 'Int64'.
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/DataProtection.Azure/#configuration to configure data protection key storage in Azure Blob Storage.
//"OrchardCore_DataProtection_Azure": {
// "ConnectionString": "", // Set to your Azure Storage account connection string.
// "ContainerName": "dataprotection", // Default to dataprotection. Templatable, refer to docs.
// "BlobName": "", // Optional, defaults to Sites/tenant_name/DataProtectionKeys.xml. Templatable, refer to docs.
// "CreateContainer": true // Creates the container during app startup if it does not already exist.
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/Markdown/#markdown-configuration
//"OrchardCore_Markdown": {
// "Extensions": "nohtml+advanced"
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/Media/#configuration to configure media.
//"OrchardCore_Media": {
// "SupportedSizes": [ 16, 32, 50, 100, 160, 240, 480, 600, 1024, 2048 ],
// "MaxBrowserCacheDays": 30,
// "MaxSecureFilesBrowserCacheDays": 0,
// "MaxCacheDays": 365,
// "ResizedCacheMaxStale": "01:00:00", // The time before a stale item is removed from the resized media cache, if not provided there is no cleanup.
// "RemoteCacheMaxStale": "01:00:00", // The time before a stale item is removed from the remote media cache, if not provided there is no cleanup.
// "MaxFileSize": 30000000,
// "CdnBaseUrl": "https://your-cdn.com",
// "AssetsRequestPath": "/media",
// "AssetsPath": "Media",
// "UseTokenizedQueryString": true,
// "AllowedFileExtensions": [".jpg",".jpeg",".png",".gif",".ico",".svg",".webp",".pdf",".doc",".docx",".ppt",".pptx",".pps",".ppsx",".odt",".xls",".xlsx",".psd",".mp3",".m4a",".ogg",".wav",".mp4",".m4v",".mov",".wmv",".avi",".mpg",".ogv",".3gp"],
// "ContentSecurityPolicy": "default-src 'self'; style-src 'unsafe-inline'",
// "MaxUploadChunkSize": 104857600,
// "TemporaryFileLifetime": "01:00:00"
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/Media.AmazonS3/#configuration to configure media storage in Amazon S3 Storage.
//"OrchardCore_Media_AmazonS3": {
// "Region": "eu-central-1",
// "Profile": "default",
// "ProfilesLocation": "",
// "Credentials": {
// "SecretKey": "",
// "AccessKey": ""
// },
// "BasePath": "/media", // Optionally, set to a path to store media in a subdirectory inside your bucket. Templatable, refer to docs.
// "CreateBucket": true,
// "RemoveBucket": true, // Whether the 'Bucket' is deleted if the tenant is removed, false by default.
// "BucketName": "media" // Set the bucket's name (mandatory). Templatable, refer to docs.
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/Media.AmazonS3/#configuration_1 to configure media storage in Amazon S3 Storage.
//"OrchardCore_Media_AmazonS3_ImageSharp_Cache": {
// "Region": "eu-central-1",
// "Profile": "default",
// "ProfilesLocation": "",
// "Credentials": {
// "SecretKey": "",
// "AccessKey": ""
// },
// "BasePath": "/media", // Optionally, set to a path to store media in a subdirectory inside your bucket. Templatable, refer to docs.
// "CreateBucket": true,
// "RemoveBucket": true, // Whether the 'Bucket' is deleted if the tenant is removed, false by default.
// "BucketName": "imagesharp" // Set the bucket's name (mandatory). Templatable, refer to docs.
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/Media.Azure/#configuration to configure media storage in Azure Blob Storage.
//"OrchardCore_Media_Azure": {
// "ConnectionString": "", // Set to your Azure Storage account connection string.
// "ContainerName": "somecontainer", // Set to the Azure Blob container name. Templatable, refer to docs.
// "BasePath": "some/base/path", // Optionally, set to a path to store media in a subdirectory inside your container. Templatable, refer to docs.
// "CreateContainer": true, // Activates an event to create the container if it does not already exist.
// "RemoveContainer": true // Whether the 'Container' is deleted if the tenant is removed, false by default.
//},
// See http://127.0.0.1:8000/docs/reference/modules/Media.Azure/#configuration_1
//"OrchardCore_Media_Azure_ImageSharp_Cache": {
// "ConnectionString": "", // Set to your Azure Storage account connection string.
// "ContainerName": "somecontainer", // Set to the Azure Blob container name. Templatable, refer to docs.
// "BasePath": "some/base/path", // Optionally, set to a path to store media in a subdirectory inside your container. Templatable, refer to docs.
// "CreateContainer": true, // Activates an event to create the container if it does not already exist.
// "RemoveContainer": true // Whether the 'Container' is deleted if the tenant is removed, false by default.
//},
// See https://stackexchange.github.io/StackExchange.Redis/Configuration.html
//"OrchardCore_Redis": {
// "Configuration": "192.168.99.100:6379,allowAdmin=true", // Redis Configuration string.
// "InstancePrefix": "", // Optional prefix allowing a Redis instance to be shared by different applications.
// "DisableCertificateVerification": false // Disable SSL/TLS certificate verification.
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/Security/#security-settings-configuration to configure security settings.
//"OrchardCore_Security": {
// "ContentSecurityPolicy": {},
// "PermissionsPolicy": { "fullscreen": "self" },
// "ReferrerPolicy": "no-referrer"
//},
// See https://docs.orchardcore.net/en/latest/reference/core/Shells/#enable-azure-shells-configuration to configure shell and tenant configuration in Azure Blob Storage.
// Add a reference to the OrchardCore.Shells.Azure NuGet package.
// Add '.AddAzureShellsConfiguration()' to your Host Startup AddOrchardCms() section.
//"OrchardCore_Shells_Azure": {
// "ConnectionString": "", // Set to your Azure Storage account connection string.
// "ContainerName": "hostcontainer", // Set to the Azure Blob container name.
// "BasePath": "some/base/path", // Optionally, set to a subdirectory inside your container.
// "MigrateFromFiles": true // Optionally, enable to migrate existing App_Data files to Blob automatically.
//},
// See https://docs.orchardcore.net/en/latest/reference/core/Shells/#enable-database-shells-configuration to configure shell and tenant configuration in the database store.
// Add '.AddDatabaseShellsConfiguration()' to your Host Startup AddOrchardCms() section.
//"OrchardCore_Shells_Database": {
// "DatabaseProvider": "SqlConnection", // Set to a supported database provider.
// "ConnectionString": "", // Set to the database connection string.
// "TablePrefix": "", // Optionally, configure a table prefix.
// "MigrateFromFiles": true // Optionally, enable to migrate existing App_Data files to Database automatically.
//},
// By default background tasks are waiting for their shell to be lazily built on a first matching request.
//"OrchardCore_BackgroundService": {
// "ShellWarmup": true // Allows to eagerly build shell containers just before executing their first background task.
//},
// Add 'AddOrchardCoreAzureKeyVault()' to the Generic Host in 'CreateHostBuilder() section'.
//"OrchardCore_KeyVault_Azure": {
// "KeyVaultName": "", // Set the name of your Azure Key Vault.
// "ReloadInterval": null // Optional, timespan to wait between attempts at polling the Azure KeyVault for changes. Leave blank to disable reloading.
//},
// See https://docs.orchardcore.net/en/latest/reference/modules/Users/Configuration/#custom-paths
//"OrchardCore_Users": {
// "LoginPath": "Login",
// "LogoffPath": "Users/LogOff",
// "ChangePasswordUrl": "ChangePassword",
// "ExternalLoginsUrl": "ExternalLogins"
//},
//"OrchardCore_Resources": {
// "ResourceDebugMode": "FromConfiguration",
// "UseCdn": false,
// "CdnBaseUrl": "",
// "AppendVersion": true
//},
//"OrchardCore_Navigation": {
// "PagerOptions": {
// "PageSize": 10,
// "MaxPageSize": 100,
// "MaxPagedCount": 500
// }
//},
// Provides Azure AI Search Connection
//"OrchardCore_AzureAISearch": {
// "Endpoint":"",
// "IndexesPrefix":"",
// "AuthenticationType":"Default",
// "IdentityClientId":null,
// "DisableUIConfiguration":false,
// "Credential":{
// "Key": ""
// }
//},
// "Url": "http://localhost",
// "Ports": [ 9200 ],
// "Username": "admin",
// "Password": "admin",
// "CloudId": "Orchard_Core_deployment:ZWFzdHVzMi5henVyZS5lbGFzdGljLWNsb3VkLmNvbTo0NDMkNmMxZGQ4YzAzN2=",
// "CertificateFingerprint": "75:21:E7:92:8F:D5:7A:27:06:38:8E:A4:35:FE:F5:17:D7:37:F4:DF:F0:9A:D2:C0:C4:B6:FF:EE:D1:EA:2B:A7",
// "EnableApiVersioningHeader": false
//},
// Provides Elasticsearch Connection
//"OrchardCore_Elasticsearch": {
// "ConnectionType": "SingleNodeConnectionPool",
// "Url": "http://localhost",
// "Ports": [ 9200 ],
// "Username": "admin",
// "Password": "admin",
// "CloudId": "Orchard_Core_deployment:ZWFzdHVzMi5henVyZS5lbGFzdGljLWNsb3VkLmNvbTo0NDMkNmMxZGQ4YzAzN2=",
// "CertificateFingerprint": "75:21:E7:92:8F:D5:7A:27:06:38:8E:A4:35:FE:F5:17:D7:37:F4:DF:F0:9A:D2:C0:C4:B6:FF:EE:D1:EA:2B:A7",
// "EnableApiVersioningHeader": false
//},
// WARNING: AutoSetup section given as an example for Development only, for Production use "Environment Variables" instead
//"OrchardCore_AutoSetup": {
// "AutoSetupPath": "",
// "Tenants": [
// {
// "ShellName": "Default",
// "SiteName": "AutoSetup Example",
// "SiteTimeZone": "Europe/Amsterdam",
// "AdminUsername": "admin",
// "AdminEmail": "[email protected]",
// "AdminPassword": "OrchardCoreRules1!",
// "DatabaseProvider": "Sqlite",
// "DatabaseConnectionString": "",
// "DatabaseTablePrefix": "",
// "DatabaseSchema": "",
// "RecipeName": "SaaS"
// },
// {
// "ShellName": "AutoSetupTenant",
// "SiteName": "AutoSetup Tenant",
// "SiteTimeZone": "Europe/Amsterdam",
// "AdminUsername": "tenantadmin",
// "AdminEmail": "[email protected]",
// "AdminPassword": "OrchardCoreRules1!",
// "DatabaseProvider": "Sqlite",
// "DatabaseConnectionString": "",
// "DatabaseTablePrefix": "tenant",
// "DatabaseSchema": "",
// "RecipeName": "Agency",
// "RequestUrlHost": "",
// "RequestUrlPrefix": "tenant"
// }
// ]
//},
//"OrchardCore_Notifications": {
// "TotalUnreadNotifications": 10,
// "DisableNotificationHtmlBodySanitizer": false
//},
//"OrchardCore_HealthChecks": {
// "Url": "/health/live",
// "ShowDetails": true
//},
//"OrchardCore_Email_Smtp": {
// "DefaultSender": "",
// "DeliveryMethod": "Network",
// "PickupDirectoryLocation": "",
// "Host": "localhost",
// "Port": 25,
// // Uncomment if SMTP server runs through a proxy server
// //"ProxyHost": "proxy.domain.com",
// //"ProxyPort": 5050,
// "EncryptionMethod": "SSLTLS",
// "AutoSelectEncryption": false,
// "UseDefaultCredentials": false,
// "RequireCredentials": true,
// "Username": "",
// "Password": ""
//},
//"OrchardCore_Email_Azure": {
// "DefaultSender": "",
// "ConnectionString": ""
//}
//"OrchardCore_ReverseProxy": {
// "ForwardedHeaders": "None"
//},
//"OrchardCore_Facebook": {
// "AppId": "",
// "AppSecret": "",
// "FBInit": false,
// "FBInitParams": "status:true,xfbml:true,autoLogAppEvents:true",
// "SdkJs": "sdk.js",
// "Version": "v3.2"
//},
//"OrchardCore_GitHub": {
// "ClientID": "",
// "ClientSecret": "",
// "CallbackPath": "/signin-github",
// "SaveTokens": false
//},
//"OrchardCore_Google": {
// "ClientID": "",
// "ClientSecret": "",
// "CallbackPath": "/signin-google",
// "SaveTokens": false
//},
//"OrchardCore_X": {
// "ConsumerKey": "",
// "ConsumerSecret": "",
// "AccessToken": "",
// "AccessTokenSecret": ""
//},
//"OrchardCore_Microsoft_Authentication_MicrosoftAccount": {
// "AppId": "",
// "AppSecret": "",
// "CallbackPath": "/signin-microsoft",
// "SaveTokens": false
//},
//"OrchardCore_Microsoft_Authentication_AzureAD": {
// "DisplayName": "",
// "AppId": "",
// "TenantId": "",
// "CallbackPath": "/signin-oidc",
// "SaveTokens": false
//},
//"OrchardCore_Localization_CultureOptions": {
// "IgnoreSystemSettings": true
//},
//"TheAdminTheme": {
// "StyleSettings": {
// "WrapperClasses": "mb-3",
// "LimitedWidthWrapperClasses": "row",
// "LimitedWidthClasses": "col-md-6 col-lg-4 col-xxl-3",
// "StartClasses": "",
// "EndClasses": "",
// "LabelClasses": "",
// "OffsetClasses": ""
// }
//},
//"OrchardCore_Tenants": {
// "TenantRemovalAllowed": true // Whether tenant removal is allowed, false by default.
//}
}
}