Skip to content

Azure Web App: Configuration Details

Andy Xu(devdiv) edited this page Nov 6, 2020 · 16 revisions

<javaVersion>

The supported values for Web App on Linux are Java 8,Java 11.

<webContainer>

The supported Value for web App on Linux

Supported Value Description
Jbosseap 7.2 Jboss EAP 7.2 (Only support Java 8)
Tomcat 8.5 Tomcat 8.5 (Default)
Tomcat 9.0 Tomcat 9.0
Java SE Java SE

Note: If the <webcontainer> is not configured, maven plugin will deploy your project to correspond Java SE runtime,

The supported Value for web App on windows

Supported Value Description
Tomcat 7.0 Tomcat 7.0
Tomcat 8.0 Tomcat 8.0
Tomcat 8.5 Tomcat 8.5 (Default)
Tomcat 9.0 Tomcat 9.0
Java SE Java SE

Note1: It is recommended to ignore the minor version number so that the latest supported web container will be used in your Web App.

<resource>

Property Description
directory Specifies where the resources are stored.
targetPath Specifies the target path where the resources will be deployed to.
includes A list of patterns to include, e.g. **/*.war.
excludes A list of patterns to exclude, e.g. **/*.xml.

Note1: By default, the <targetPath> is relative to the /site/wwwroot/ folder except one case: it is relative to the /site/wwwroot/webapps when you deploy the war package.

Note2: If <targetPath> is started with '/', then <targetPath> will be regarded as a absolute path, you could deploy external resources to folders outside wwwroot in this method

<region>

Some valid regions are listed as below. All valid regions please refer to Azure Region Availability.

  • West US
  • West US 2
  • East Asia

<pricingTier>

Some valid pricing tiers are listed as below. All valid pricing tiers please refer to Azure App Service Plan Pricing.

  • F1 (Windows Only)
  • P1V2
  • P2V2

Note: Pricing tier selected should support the 'AlwaysOn' setting for deployment to succeed.

Clone this wiki locally