-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWeb.config
48 lines (41 loc) · 1.68 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
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="X-Frame-Options" value="SAMEORIGIN" />
<add name="X-XSS-Protection" value="1; mode=block" />
</customHeaders>
</httpProtocol>
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
<httpCompression>
<staticTypes>
<clear />
<add enabled="true" mimeType="text/*" />
<add enabled="true" mimeType="message/*" />
<add enabled="true" mimeType="application/javascript" />
<add enabled="true" mimeType="application/atom+xml" />
<add enabled="true" mimeType="application/xaml+xml" />
<add enabled="true" mimeType="application/json" />
<add enabled="true" mimeType="image/svg+xml" />
<add enabled="true" mimeType="image/x-emf" />
<add enabled="false" mimeType="*/*" />
</staticTypes>
<dynamicTypes>
<clear />
<add enabled="true" mimeType="text/*" />
<add enabled="true" mimeType="message/*" />
<add enabled="true" mimeType="application/javascript" />
<add enabled="true" mimeType="application/json" />
<add enabled="true" mimeType="application/atom+xml" />
<add enabled="true" mimeType="application/atom+xml;charset=utf-8" />
<add enabled="false" mimeType="*/*" />
</dynamicTypes>
</httpCompression>
<rewrite>
<rewriteMaps configSource="Configuration\rewriteMaps.config" />
<rules configSource="Configuration\rewriteRules.config" />
</rewrite>
</system.webServer>
</configuration>