-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathweb-scanner.config
29 lines (29 loc) · 1.04 KB
/
web-scanner.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
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is the web.config file for the site your scanners should hit. This one does not include authentication -->
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Reverse proxy to sonarqube on localhost" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://localhost:9000/{R:1}" />
</rule>
</rules>
</rewrite>
<directoryBrowse enabled="false" />
<security>
<authentication>
<anonymousAuthentication enabled="true" />
<windowsAuthentication enabled="false" />
</authentication>
<requestFiltering>
<requestLimits maxAllowedContentLength="300000000" maxUrl="500000" maxQueryString="500000" />
</requestFiltering>
</security>
</system.webServer>
<system.web>
<httpRuntime maxUrlLength="500000" maxQueryStringLength="500000" />
</system.web>
</configuration>