Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit b3a27a1

Browse files
committed
web.config
1 parent 48577a7 commit b3a27a1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

build/web.config

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!-- WEB Config for Argular APPS -->
2+
<?xml version="1.0" encoding="utf-8"?>
3+
<configuration>
4+
<system.web>
5+
<httpRuntime maxQueryStringLength="32768" maxUrlLength="65536"/>
6+
</system.web>
7+
<system.webServer>
8+
<handlers>
9+
<remove name="aspNetCore" />
10+
</handlers>
11+
<security>
12+
<requestFiltering>
13+
<requestLimits maxQueryString="32768"/>
14+
</requestFiltering>
15+
</security>
16+
<rewrite>
17+
<rules>
18+
<rule name="Angular" stopProcessing="true">
19+
<match url="^(?!.*(.js|.bundle.map|.bundle.js.gz|.bundle.css|.bundle.css.gz|.png|.jpg|.ico|.chunk.js|.woff|.woff2|api|.eot|.svg|.ttf|assets|.css)).*$" ignoreCase="false" />
20+
<conditions logicalGrouping="MatchAll">
21+
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false"/>
22+
</conditions>
23+
<action type="Rewrite" url="/user-management/" appendQueryString="true" />
24+
</rule>
25+
</rules>
26+
</rewrite>
27+
<staticContent>
28+
<remove fileExtension=".svg" />
29+
<remove fileExtension=".eot" />
30+
<remove fileExtension=".woff" />
31+
<remove fileExtension=".woff2" />
32+
<remove fileExtension=".json" />
33+
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
34+
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
35+
<mimeMap fileExtension=".woff" mimeType="application/x-woff" />
36+
<mimeMap fileExtension=".woff2" mimeType="application/x-woff" />
37+
<mimeMap fileExtension=".json" mimeType="application/json" />
38+
</staticContent>
39+
</system.webServer>
40+
</configuration>

0 commit comments

Comments
 (0)