@@ -1102,14 +1102,14 @@ Please note that the latest versions of Tomcat will have these server.xml. (8.5.
1102
1102
1103
1103
### Connector
1104
1104
1105
- ```
1105
+ ```xml
1106
1106
<Connector port=" ${port. http}" address=" 127.0 . 0.1 " maxHttpHeaderSize=" 16384 " compression=" on" URIEncoding=" UTF - 8 " connectionTimeout=" ${site. connectionTimeout}" maxThreads=" ${catalina. maxThreads}" maxConnections=" ${catalina. maxConnections}" protocol=" HTTP / 1.1 " redirectPort=" 8443 " />
1107
1107
```
1108
- * maxHttpHeaderSize to 16384
1109
- * URIEncoding to UTF-8
1110
- * conectionTimeout to ( WEBSITE_TOMCAT_CONNECTION_TIMEOUT, default 240000)
1111
- * maxThreads to ( WEBSITE_CATALINA_MAXTHREADS, default 200)
1112
- * maxConnections to ( WEBSITE_CATALINA_MAXCONNECTIONS, default 10000)
1108
+ * ` maxHttpHeaderSize` is set to ` 16384`
1109
+ * ` URIEncoding` is set to ` UTF-8`
1110
+ * ` conectionTimeout` is set to ` WEBSITE_TOMCAT_CONNECTION_TIMEOUT`, which defaults to ` 240000`
1111
+ * ` maxThreads` is set to ` WEBSITE_CATALINA_MAXTHREADS`, which defaults to ` 200`
1112
+ * ` maxConnections` is set to ` WEBSITE_CATALINA_MAXCONNECTIONS`, which defaults to ` 10000`
1113
1113
1114
1114
> [!NOTE]
1115
1115
> The connectionTimeout, maxThreads and maxConnections settings can be tuned with app settings
@@ -1129,28 +1129,28 @@ az webapp config appsettings set --resource-group myResourceGroup --name myApp -
1129
1129
1130
1130
### Host
1131
1131
1132
- ```
1132
+ ```xml
1133
1133
<Host appBase=" ${site. appbase}" xmlBase=" ${site. xmlbase}" unpackWARs=" ${site. unpackwars}" workDir=" ${site. tempdir}" errorReportValveClass=" com.microsoft.azure.appservice. AppServiceErrorReportValve " name=" localhost" autoDeploy=" true " >
1134
1134
```
1135
1135
1136
- * appBase to ( AZURE_SITE_APP_BASE, defaults to local WebappsLocalPath)
1137
- * xmlBase to ( AZURE_SITE_HOME, /site/wwwroot)
1138
- * unpackWARs to ( AZURE_UNPACK_WARS, default true)
1139
- * workDir to ( JAVA_TMP_DIR, default TMP)
1136
+ * ` appBase` is set to ` AZURE_SITE_APP_BASE`, which defaults to local ` WebappsLocalPath`
1137
+ * ` xmlBase` is set to ` AZURE_SITE_HOME`, which defaults to ` /site/wwwroot`
1138
+ * ` unpackWARs` is set to ` AZURE_UNPACK_WARS`, which defaults to ` true`
1139
+ * ` workDir` is set to ` JAVA_TMP_DIR`, which defaults ` TMP`
1140
1140
* errorReportValveClass uses our custom error report valve
1141
1141
1142
1142
### Valve
1143
1143
1144
- ```
1144
+ ```xml
1145
1145
<Valve prefix=" site_access_log. ${catalina. instance. name}" pattern=" % h % l % u % t & quot;% r& quot; % s % b % D % {x- arr- log- id}i" directory=" ${site. logdir}/ http/ RawLogs " maxDays=" ${site. logRetentionDays}" className=" org.apache.catalina.valves. AccessLogValve " suffix=" . txt" />
1146
1146
```
1147
- * directory to ( AZURE_LOGGING_DIR, default home\l ogFiles)
1148
- * maxDays to ( WEBSITE_HTTPLOGGING_RETENTION_DAYS, default 0 [forever] )
1147
+ * ` directory` is set to ` AZURE_LOGGING_DIR`, which defaults to ` home\l ogFiles`
1148
+ * ` maxDays` is to ` WEBSITE_HTTPLOGGING_RETENTION_DAYS`, which defaults to `0` [forever]
1149
1149
1150
1150
On Linux, it has all of the same customization, plus:
1151
1151
1152
1152
* Adds some error and reporting pages to the valve:
1153
- ```
1153
+ ```xml
1154
1154
<xsl:attribute name=" appServiceErrorPage" >
1155
1155
<xsl:value-of select=" ' ${appService.valves.appServiceErrorPage}' " />
1156
1156
</xsl:attribute>
0 commit comments