Monday, 3 April 2017

Azure App Service IIS "maxRequestLength" setting

I have a NodeJS application deployed on a Azure App Service. Doing a post with a file of 38 MB I obtain a 404 error but under the hood there is a IIS problem "Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value."

To set 'maxAllowedContentLength' I have to edit 'web.config' file.

This is not good because if I do some change on the Azure Portal App Settings my local version of web.config' goes in conflict with the auto-generated file.

Is it possible to set on 'maxAllowedContentLength' in a different way ?



via Toto

No comments:

Post a Comment