From 4e2d7ec9385cfcff372be53ab150faf1d64b0faa Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期一, 10 七月 2023 13:13:34 +0800
Subject: [PATCH] 1
---
WebTM/Web.config | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/WebTM/Web.config b/WebTM/Web.config
index 2db5211..ee4e5f2 100644
--- a/WebTM/Web.config
+++ b/WebTM/Web.config
@@ -19,6 +19,11 @@
<handlers>
<remove name="StaticFile" />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" />
- </handlers>
+ </handlers>
+ <security>
+ <requestFiltering>
+ <requestLimits maxAllowedContentLength="10485760" maxQueryString="10485760" /> <!--璁剧疆鍙傛暟鍐呭鐨勬渶澶ч暱搴︿负10MB锛岄粯璁ゆ槸4MB,鏈�澶ф敮鎸�2GB-->
+ </requestFiltering>
+ </security>
</system.webServer>
</configuration>
--
Gitblit v1.9.1