summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Project-Unite/Web.config8
1 files changed, 7 insertions, 1 deletions
diff --git a/Project-Unite/Web.config b/Project-Unite/Web.config
index e1184a5..ac9443b 100644
--- a/Project-Unite/Web.config
+++ b/Project-Unite/Web.config
@@ -21,12 +21,18 @@
<customErrors mode="Off" />
<authentication mode="None" />
<compilation debug="true" targetFramework="4.5.2" />
- <httpRuntime targetFramework="4.5.2" />
+ <httpRuntime maxRequestLength="51200" targetFramework="4.5.2" />
<httpModules>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</httpModules>
</system.web>
<system.webServer>
+ <security>
+ <requestFiltering>
+ <requestLimits maxAllowedContentLength="52428800" />
+ <!--50MB-->
+ </requestFiltering>
+ </security>
<modules>
<remove name="FormsAuthentication" />
<remove name="ApplicationInsightsWebTracking" />