Need to increase Post Size in Azure App Service Tomcat 9.0

Shady Ashraf 1 Reputation point
2021-01-08T19:39:32.64+00:00

In the localhost I solve the issue using <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" maxPostSize="xxxxxxx"/>
So I need to know how to apply the same solution in my Azure App Service

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2021-01-11T11:45:33.723+00:00

    @Shady Ashraf ,
    Folder location on App Service: D:\home\site\wwwroot\bin\apache-tomcat-8.0.33 (example)

    1. Navigate to the KUDU console for your existing web app (https://<sitename>.scm.azurewebsites.net/debugconsole)
    2. Go to the “site” directory and then “wwwroot”.
      In the wwwroot directory, press the “+” button and select “New Folder” and name the folder “bin”.
    3. Go to the bin directory. Click and drag the Apache Tomcat zip file that you want. This will upload and extract the zip file. The Tomcat directory will now be shown.
    4. Go back to the “wwwroot” directory and press the “+” button again to add a new file> Name the file “web.config”.
    5. Press the edit button next to the web.config file and add the content you highlighted (with the specific version) and press save.
      d:\home\site\wwwroot\bin\apache-tomcat--8.0.33
    6. Go to the bin\apache-tomcat-8.0.33\conf directory and edit the server.xml file.

    7.Add the ‘settings’ and press save.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.