-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb.config
45 lines (45 loc) · 1.59 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
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.html" />
<add value="index.php" />
<add value="Default.asp" />
<add value="Default.htm" />
<add value="iisstart.htm" />
<add value="default.aspx" />
</files>
</defaultDocument>
<!--<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />-->
<httpProtocol>
<customHeaders>
<remove name="Vary"/>
<add name="Vary" value="Accept-Encoding"/>
</customHeaders>
</httpProtocol>
<urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/>
</system.webServer>
<location path="img">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365:00:00:00"/>
</staticContent>
</system.webServer>
</location>
<location path="files">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365:00:00:00"/>
</staticContent>
</system.webServer>
</location>
<location path="video">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365:00:00:00"/>
</staticContent>
</system.webServer>
</location>
</configuration>