-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
34 lines (34 loc) · 1.25 KB
/
Copy pathappsettings.json
File metadata and controls
34 lines (34 loc) · 1.25 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
{
"ConnectionStrings": {
"DefaultConnection": "DataSource=Data/app.db;Cache=Shared"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
/*
"SmtpSettings": {
"Host": "",
"Port": 587,
"EnableSsl": true,
"Username": "",
"Password": "",
"SenderEmail": "noreply@pdnodevote.com",
"SenderName": "Pdnode Vote"
},
*/
"_comment_ForwardedHeaders": "Only populate KnownProxies/KnownIPNetworks when this app runs behind a reverse proxy you control. While these lists are empty, X-Forwarded-For is ignored and the real peer address is used, so clients cannot forge their IP to bypass the per-IP guest-vote limit.",
"ForwardedHeaders": {
"KnownProxies": ["X-Forwarded-For"],
"KnownIPNetworks": ["127.0.0.1"]
},
"_comment_BootstrapAdmin": "Password for the initial administrator (admin@vote.com), used ONCE when no admin account exists yet. Leave empty in Production only if the account already exists. Can also be supplied via the PDNODEVOTE_ADMIN_PASSWORD environment variable or user-secrets. In Development an empty value produces a random one-time password that is printed to the log.",
/*
"BootstrapAdmin": {
"Password": ""
},
*/
"AllowedHosts": "*"
}