-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Example.json
More file actions
44 lines (35 loc) · 1.54 KB
/
appsettings.Example.json
File metadata and controls
44 lines (35 loc) · 1.54 KB
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
{
"//": "Copy this file to appsettings.Production.json and adjust the values.",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "iisweb.internal.example.com",
"App": {
"//AllowedAppPools": "Whitelist of pool names this application is permitted to view and act upon. Empty array means 'all pools on the server'. Recommend explicitly listing them.",
"AllowedAppPools": [
"DefaultAppPool",
"MyApp",
"MyApp-Worker"
],
"//AllowedIpRanges": "IP allow-list. Each entry is either a single IPv4/IPv6 address or a CIDR range. Empty array disables filtering. Applied AFTER X-Forwarded-For when behind a trusted proxy.",
"AllowedIpRanges": [
"127.0.0.1",
"::1",
"10.0.0.0/8",
"192.168.0.0/16"
],
"//LoginMaxAttempts": "Number of consecutive failed logins before the account is locked.",
"LoginMaxAttempts": 5,
"//LoginLockoutMinutes": "Lockout duration in minutes after LoginMaxAttempts is reached.",
"LoginLockoutMinutes": 15,
"//RequireHttps": "Force HTTPS redirection and Secure cookies. Set to false ONLY for local development without TLS.",
"RequireHttps": true,
"//SqlitePath": "Relative or absolute path to the SQLite database file. The directory must be writable by the IIS Application Pool identity that hosts THIS app.",
"SqlitePath": "App_Data/iisweb.db",
"//SessionTimeoutMinutes": "Auth cookie sliding expiration window in minutes.",
"SessionTimeoutMinutes": 60
}
}