Merge branch '2.2.x' into 2.3.x
Closes gh-21744
This commit is contained in:
@@ -61,7 +61,7 @@ public abstract class AbstractViewResolverProperties {
|
||||
private Charset charset = DEFAULT_CHARSET;
|
||||
|
||||
/**
|
||||
* White list of view names that can be resolved.
|
||||
* The view names that can be resolved.
|
||||
*/
|
||||
private String[] viewNames;
|
||||
|
||||
|
||||
@@ -183,8 +183,7 @@ public class TomcatWebServerFactoryCustomizer
|
||||
if (StringUtils.hasLength(remoteIpHeader)) {
|
||||
valve.setRemoteIpHeader(remoteIpHeader);
|
||||
}
|
||||
// The internal proxies default to a white list of "safe" internal IP
|
||||
// addresses
|
||||
// The internal proxies default to a list of "safe" internal IP addresses
|
||||
valve.setInternalProxies(remoteIpProperties.getInternalProxies());
|
||||
try {
|
||||
valve.setHostHeader(remoteIpProperties.getHostHeader());
|
||||
|
||||
@@ -13,6 +13,7 @@ NOTE: Property contributions can come from additional jar files on your classpat
|
||||
Also, you can define your own properties.
|
||||
|
||||
|
||||
|
||||
== Core properties
|
||||
|
||||
include::config-docs/core.adoc[]
|
||||
|
||||
Reference in New Issue
Block a user