-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathweb.config
38 lines (38 loc) · 1.31 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
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="customResponseCode">
<match url="upload" />
<action type="CustomResponse" statusCode="200" />
</rule>
</rules>
</rewrite>
<staticContent>
<mimeMap fileExtension=".webmanifest" mimeType="application/manifest+json" />
<mimeMap fileExtension="." mimeType="application/octet-stream" />
</staticContent>
<urlCompression doStaticCompression="false" />
<httpProtocol>
<customHeaders>
<add name="Cache-Control" value="no-store, no-cache, no-transform, must-revalidate" />
</customHeaders>
</httpProtocol>
<caching enabled="false" enableKernelCache="false" />
<security>
<requestFiltering>
<verbs>
<add verb="POST" allowed="true" />
<add verb="GET" allowed="true" />
</verbs>
<fileExtensions>
<add fileExtension="." allowed="true" />
</fileExtensions>
<alwaysAllowedUrls>
</alwaysAllowedUrls>
<requestLimits maxAllowedContentLength="2147483647"/>
</requestFiltering>
</security>
</system.webServer>
</configuration>