IIS 7 and Above
IIS10 Reverse proxy bypass 2gb maxRequestLength limit
Last post Sep 11, 2017 11:55 PM by lextm
Sep 08, 2017 02:59 PM|LegacyMindset|LINK
I have an IIS 10 revrese proxy to a tomcat app which requires larger than 2gb file uploads. Is there a way I can bypass the system.web/httpRuntime.maxRequestLength 2gb max to at least get to the 4gb limit set by request filtering?
Windows Server 2016
URL Rewrite 2.1
Sep 09, 2017 12:35 AM|lextm|LINK
You can ignore "system.web" as it only applies to ASP.NET apps. "system.webServer" setting is required.
Sep 11, 2017 06:02 PM|LegacyMindset|LINK
Thank you for your reply. I attempted setting up my IIS reverse proxy according to the link but I still hit the 2gb limit. I'm uploading a 2.5gb file and it stalls at 83% (approx 2gb) until my tomcat app times out. Then I get a connection error
from Tomcat. I'm assuming I "ignore" system.web by using classic pipeline in my App pool but that isn't working.
Sep 11, 2017 11:55 PM|lextm|LINK
I attempted setting up my IIS reverse proxy according to the link but I still hit the 2gb limit.
That blog post shows a case for ASP.NET. So if you can follow its steps to get ASP.NET working, then the 2GB limit on IIS and ASP.NET is gone. I assume Tomcat has its own settings too which you might explore.