-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.config
56 lines (54 loc) · 2.05 KB
/
Web.config
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
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<!--
For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web>
<httpRuntime requestValidationMode="2.0" />
<compilation debug="true" targetFramework="4.5" />
<pages controlRenderingCompatibilityVersion="4.0" />
<machineKey decryption="AES" decryptionKey="YOUR KEY"
validation="HMACSHA256"
validationKey="YOUR KEY" />
<authentication mode="Forms">
<forms name="fooblog.auth" loginUrl="~/login.aspx" protection="All" path="/" defaultUrl="~/index.aspx"
timeout="30" />
</authentication>
</system.web>
<system.webServer>
<defaultDocument>
<files>
<add value="index.aspx" />
</files>
</defaultDocument>
</system.webServer>
<appSettings>
<add key="Admin Group ID" value="JwzVLEfvDiyueXLp" />
<add key="User Group ID" value="ri3EKpc5Z5gN4FEu" />
<add key="CSRF Cookie Name" value="fooblog.csrf" />
<add key="SMTP Server" value="YOUR SMTP SERVER" />
<add key="SMTP Port" value="25" />
<add key="SMTP FromAddress" value="YOUR NOREPLY ADDRESS" />
</appSettings>
<connectionStrings>
<add name="fooPostgreSQL"
connectionString="Server=127.0.0.1;Port=5432;Database=fooblog;User Id=YOUR USEr;Password=YOUR PASSWORD;"
providerName="Ngpsql" />
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>