parent
							
								
									7551a79e80
								
							
						
					
					
						commit
						4b10462464
					
				| 
						 | 
					@ -188,7 +188,7 @@ public class TomcatWebServerFactoryCustomizer
 | 
				
			||||||
			// addresses
 | 
								// addresses
 | 
				
			||||||
			valve.setInternalProxies(remoteIpProperties.getInternalProxies());
 | 
								valve.setInternalProxies(remoteIpProperties.getInternalProxies());
 | 
				
			||||||
			try {
 | 
								try {
 | 
				
			||||||
				valve.setHostHeader(tomcatProperties.getHostHeader());
 | 
									valve.setHostHeader(remoteIpProperties.getHostHeader());
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			catch (NoSuchMethodError ex) {
 | 
								catch (NoSuchMethodError ex) {
 | 
				
			||||||
				// Avoid failure with war deployments to Tomcat 8.5 before 8.5.44 and
 | 
									// Avoid failure with war deployments to Tomcat 8.5 before 8.5.44 and
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue