-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.config
More file actions
27 lines (26 loc) · 1.1 KB
/
Copy pathweb.config
File metadata and controls
27 lines (26 loc) · 1.1 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
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<!-- Use this section to allow the running of certain filetypes -->
<remove fileExtension=".svg" />
<remove fileExtension=".jpg" />
<remove fileExtension=".png" />
<remove fileExtension=".json" />
<remove fileExtension=".txt" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".jpg" mimeType="image/jpg" />
<mimeMap fileExtension=".png" mimeType="image/png" />
<mimeMap fileExtension=".txt" mimeType="text/plain" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<mimeMap fileExtension=".json" mimeType="text/html" />
</staticContent>
<security>
<dynamicIpSecurity denyAction="NotFound" />
<ipSecurity allowUnlisted="false" denyAction="NotFound">
<!-- Enter your white listed IP addresses -->
</ipSecurity>
</security>
</system.webServer>
</configuration>