diff options
| author | Michael <[email protected]> | 2017-04-06 16:15:33 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-06 16:15:33 -0400 |
| commit | 914b34b118b4876b8c035265f75b75ae9923b1c4 (patch) | |
| tree | e1c1d7545f91e7d0af3c753670f2c8fed5442c40 | |
| parent | 946fc67bb9ff585b4e4434540e1d7357cba6259a (diff) | |
| download | project-unite-914b34b118b4876b8c035265f75b75ae9923b1c4.tar.gz project-unite-914b34b118b4876b8c035265f75b75ae9923b1c4.tar.bz2 project-unite-914b34b118b4876b8c035265f75b75ae9923b1c4.zip | |
Fix filesize.
| -rw-r--r-- | Project-Unite/Web.config | 8 |
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" /> |
